Difference between an argument and a parameter?
Answer Posted / venkat
while we are declaring method this parameters
ex: public void test(int a,int b)
{}= this is parameters
while we are passing values through object refernce this
arguments
ex: A a=new A();
a.test(5,5);=this is arguments
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
Does google use java?
Name few java.lang classes introduced with java 8 ?
Explain serialization and deserialization in java?
What is lossy conversion in java?
What is the difference between the file and randomaccessfile classes?
If a class is declared without any access modifiers, where can the class be accessed?
Which sort is best in java?
What is unicode in java?
What is composition in java?
How will you invoke any external process in java?
what is the difference between the methods sleep() and wait()? : Java thread
What is a platform?
Does java runtime require a license?
How to sort an unsorted array in java?
Is a char always 1 byte?