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 string token?
Explain different types of thread priorities ?
Can we clone singleton object in java?
Mention a package that is used for linked list class in java.
What interface is extended by awt event listeners?
What is a java list?
How do you define a parameter?
What is meant by method overriding?
What is subsequence of a string?
What is regex used for?
How to retrieve data from database in java using arraylist?
Explain method local inner classes ?
How to implement a multithreaded applet?
What is a conditional equation?
What programs use java?