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 is a double?
How do you escape json?
What checkbox method allows you to tell if a checkbox is checked?
Can we override private methods?
What is abstraction in java?
How do you sort in descending order in java using collections sort?
Can I override protected method in java?
Difference between predicate, supplier and consumer ?
What is parse method?
Convert Binary tree to linked list.
What is meant by binding in rmi?
What are the limitations of procedural programming approach?
What is the default access specifier for variables and methods of a class?
Explain where variables are created in memory?
Why are the methods of the math class static?