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
What does it mean that strings are immutable?
When throw keyword is used?
What is the difference between hashmap and hashtable in java?
What is meant by oops concept in java?
What are the advantages of compiled language?
What do you mean by hashing?
What is boolean false?
Can a class be declared as static?
What are structs in java?
Can You Have Virtual Functions In Java?
Is empty set an element of empty set?
What does indexof mean?
What is collection api?
What is the purpose of checked and unchecked exceptions in JAVA?
How do you call a reference in java?