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 to create packages in java?
What is compareto () in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Is java call by reference?
How many tetrahedral voids are there in bcc?
What is the difference between superclass and subclass?
Explain the difference between throw and throws in java?
Why super is first line in java?
What is bufferedwriter?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is anagram of a string?
Is arraylist an object in java?
What is the use of string and stringbuffer?
Which class should you use to obtain design information about an object in java programming?
How many characters is 16 bytes?