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
Which is faster call by value or call by reference?
What is the difference between static class and normal class?
Name some OOPS Concepts in Java?
What is a method in java?
What is the arraylist in java?
How can the checkbox class be used to create a radio button?
Is there any difference between nested classes and inner classes?
If a variable is declared as private, where may the variable be accessed?
Explain when classnotfoundexception will be raised ?
How does hashset works in java?
How do you override a method?
What is finally and finalize in java?
What is the static block?
What is bitwise complement?
What is sorting algorithm in java?