Difference between an argument and a parameter?
Answer Posted / pankaj kaundal
In the method and function declaring valiable with data type
is known as parameater it is a refrence type.
void sum(int x, int y)//is parameter
and when it call and passing value is known as argument
like
object o=new object();
o.sum(12,20);//it is argument
| Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
How does java pattern compile work?
Explain restrictions on using enum?
Is there a case when finally will not execute?
What is the difference between multitasking and multithreading in Java
Give any two differences between C++ and java.
Write the algorithm to check the number non-leaf nodes in a tree.
Does java map allow duplicates?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
What an i/o filter in java programming?
What is ternary operator? Give an example.
Can a static member function access member variable of an object?
How do you find the independent variable?
Is java developer a good career?
Is class is a data type?
What is meant by string is immutable?