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

Can singleton class be serialized?

510


Can long be null in java?

540


What is flush () in java?

553


Write a java program that prints all the values given at command-line.

546


Can set contain duplicates?

538






What is the difference between a break statement and a continue statement?

595


How is it possible for two string objects with identical values not to be equal under the == operator?

521


What is the primary benefit of encapsulation?

554


How can we make copy of a java object?

542


Why deletion in linkedlist is fast than arraylist?

533


How do you sort an array in java?

535


Is it possible to specify multiple jndi names when deploying an ejb?

553


What is a classloader in java?

534


Does hashset allow duplicates in java?

578


What is JVM and is it platform independent?

555