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
What two classes are used to read data only?
Implementations of set interface?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Why isn’t there operator overloading?
What is a flag value?
What are the types of literals?
What about method local inner classes or local inner classes in java?
Can we define static methods inside interface?
Can you give names of Container classes?
Differentiate between a constructor and a method? Can we mark constructors final?
Why is the type for real numbers called double?
What is the purpose of tostring() method in java?
What happens if main method is not static?
What is the purpose of the system class in java programming?
What is the maximum size of a string in java?