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 a concrete classes? Is Java object class is concrete class?
What are the restrictions that are applied to the java static methods?
Can you override static method in java?
What is keyword and identifier?
What is java developer skills?
Differentiate between the constructors and methods in java?
What is method overloading and method overriding?
what is the major difference between linkedlist and arraylist in java?
What is the difference between class forname and new?
How do you clear an arraylist in java?
Explain java heap space and garbage collection?
What is multiple inheritance & can we implement it in java?