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 |
How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?
What is a java object and java application?
what is use of business objects?
When is the finally clause of a try-catch-finally statement executed?
What are the advantages of java?
Can Anybody tell the diff b/w jdk1.6 and latest version.
why java does not support mulitple inheritance directly?
What are the methods used to implement for the key object in the hash map?
What is the purpose of using the java bean?
What is stringjoiner ?
How can we make a class singleton?
Is 0 a prime number?