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
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
What is broken and continue statement?
What is boolean used for?
What is a nested class?
What is implicit object in java?
Is string is a class in java?
Can we cast any other type to boolean type with type casting?
What does indexof mean?
Is string pool garbage collected?
What are the Class Libraries ?
What is a double?
What do you mean by platform independence?
What is unsigned char?
Write a program in java to create a doubly linked list containing n nodes.
What does flagged out mean?