What is the difference between parameters and arguments ?
Answer Posted / 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 |
Post New Answer View All Answers
What is the use of toarray () in java?
how to open and edit XML file in Weblogic???
What are byte codes?
Is 9 a prime number?
What is data type in java?
What is class variable java?
Can we override private method?
What do you mean by hashing?
What do you mean by jjs in java8?
What are unchecked exceptions in java?
What do you mean by static variable?
What access modifiers can be used for variables?
What is locale?
Is java jre still free?
What is java ceil?