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 do you write methodology?
What is the difference between overriding and overloading in OOPS.
What is return keyword in java?
Program to Find the second largest element in an array.
Explain about procedural programming language or structured programming language and its features?
Explain the Propertie sof class?
What are the library functions in java?
What is finalize() function in java?
Is java developer a good career?
Is zero a natural number?
Can we extend private class in java?
What is final method?
Can singleton class be inherited in java?
What is a nested list?
Is char a method in java?