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 |
What is light weight component?
What is static and a non-static inner class?
What is the size of string?
What is binary tree in java?
What is final?
What is array list in java?
What is a nested class?
What is boolean false?
why java does not support multiple inheritance
41 Answers Diamond, Euclid, Evergent, KLKJ, Mind Tree, NIIT, SSI Small Scale Industries, Wipro,
What is the meaning of course?
What is unicode used for?
What is java english?