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
What is enhanced loop in java?
What class allows you to read objects directly from a stream?
What is java and their uses?
Which sorting algorithm is in place?
Why does java does not support multiple inheritance? Explain
How can you read content from file in java?
What is the meaning of find and replace?
What is a java applet? What is an interface?
What is argument in java?
How do we access static members in java?
What is a stringbuilder?
How do you check if an arraylist is not empty?
How to perform merge sort in java?
what are abstract functions?
How does singleton class work?