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
enlist some features of jdk.
Why is method overloading not possible by changing the return type in java?
Can we have any code between try and catch blocks?
How do you define a parameter?
What does the string method compareto () do?
Can singleton class be inherited in java?
What's the access scope of protected access specifier?
What are the types of java languages?
Why synchronization is important in java?
who can i handle multiple client in RMI
Can we override tostring method in java?
What is mvc in java?
What is application system?
What about instanceof operator in java?
Can we create our own daemon thread?