Difference between an argument and a parameter?

Answer Posted / rasool.sk

Whenever we are define a method with objects or references then that objects or references are called as parameters.

Whenever we are calling using that method with their objects or references values through that class object is called arguments

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What two classes are used to read data only?

628


Implementations of set interface?

552


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

577


Why isn’t there operator overloading?

582


What is a flag value?

508






What are the types of literals?

550


What about method local inner classes or local inner classes in java?

542


Can we define static methods inside interface?

511


Can you give names of Container classes?

1844


Differentiate between a constructor and a method? Can we mark constructors final?

668


Why is the type for real numbers called double?

536


What is the purpose of tostring() method in java?

541


What happens if main method is not static?

488


What is the purpose of the system class in java programming?

536


What is the maximum size of a string in java?

539