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 a qualifier in a sentence?
What is the functionality of the stub?
What is the purpose of lambda expressions?
Is special character in java?
What is remote method invocation (rmi)?
Can we declare the static variables and methods in an abstract class?
Is void a data type?
Explain the differences between abstraction and encapsulation?
Define a package.
Define an enumeration?
Is integer a class?
Can we write method inside a method in java?
Difference between process and thread?
What is difference between arraylist and list in java?
What is sorting algorithm in java?