Difference between an argument and a parameter?

Answer Posted / janet

while defining method,variables passed in the method are
called parameters.while using those methods,values passed
to those variables are called arguments.

Is This Answer Correct ?    133 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

571


Define inheritance with reference to java.

572


What is listnode in java?

526


Variables used in a switch statement can be used with which datatypes?

506


How many static init can you have?

668






What is foreach loop in java?

519


Explain about collection interface in java?

536


When should I use stringbuffer?

562


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1012


What is try-with-resources in java?

601


What is the difference between final, finally and finalize()?

537


Explain creating threads by extending thread class ?

570


What does opcode mean?

522


What is the use of a copy constructor?

564


What is null object in java?

561