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
Difference between a process and a program?
What is java basic concept?
What is e in java?
Write a program to check for a prime number in java?
What steps are taken when the OS shifts from one-thread execution to another?
Is minecraft java edition free?
what is meant by abstract class?
Have you ever used hashtable and dictionary?
When we should use serialization?
Explain list interface?
What is api in java?
what is collatration?
What is the difference between actual and formal parameters?
What are the 6 boolean operators?
What is the meaning of variable in research?