Top "Arguments" questions

An argument is a value passed to a function, procedure, or command line program.

Is there a way to take an argument in a callable method?

I have created a piece of code which takes an IP address (from main method in another class) and then …

java multithreading arguments ping callable
Java method with unlimited arguments

The spring framework uses methods where you can pass as many arguments as you like. I would like to write …

java methods arguments
Speed of code execution: ASP.NET-MVC versus PHP

I have a friendly argument going on with a co-worker about this, and my personal opinion is that a ASP.…

php asp.net-mvc arguments
Is there a way to change effective process name in Python?

Can I change effective process name of a Python script? I want to show a different name instead of the …

python process arguments hide ps
Singleton with parameters

I need a singleton class to be instantiated with some arguments. The way I'm doing it now is: class SingletonExample { …

c# design-patterns parameters singleton arguments
separate real and imaginary part of a complex number in python

I have need to extract the real and imaginary elements of a complex number in python. I know how to …

python object arguments filenames definition
Making java method arguments as final

What difference that final makes between the code below. Is there any advantage in declaring the arguments as final. public …

java methods arguments final
Redirecting passed arguments to a windows batch file

I would like to call a jar file from a windows batch file. One requirement is to be able to …

windows batch-file arguments
Using command line argument range in bash for loop prints brackets containing the arguments

It's probably a lame question. But I am getting 3 arguments from command line [ bash script ]. Then I am trying to …

bash command-line loops for-loop arguments