What is the difference between parameters and arguments ?
Answers were Sorted based on User's Feedback
Answer / shadow
While defining method, variables passed in the method are
called parameters. While using those methods, values passed
to those variables are called arguments.....!
$HADOW
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / sadikhasan palsaniya
when defining a method like
public static void show(int a,int b){}
here variable a and b is parameter.
public static void main(String...string){
show(10,20);
}
here 10 and 20 is argument for show method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Say any two properties in beans?
Is string a wrapper class?
What are command line arguments?
Explain the init method?
What is the difference between preemptive scheduling and time slicing?
What happens if an exception is throws from an object's destructor?
What does || mean in vectors?
In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not????
Discuss different types of errors that generally occur while programming.
What are the advantages of functions?
Why java is made?
Explain the selection sort algorithm?