Difference between an argument and a parameter?

Answer Posted / aditya

variables defined in the method eg: sum(int a ,int b)
here a and b are parameters which r variables.

the values passed to that variables r called arguments.

Is This Answer Correct ?    22 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What access modifiers can be used for class ?

534


What are measurable parameters?

562


What is the difference between jdk and jre?

602


Define class?

513


Is void a type?

581






How many functional interfaces does java 8 have?

600


How to sort array of 0 and 1 in java?

541


State the main difference between c++ and java?

588


How can we make a class virtual?

636


What is final modifier?

556


What are controls and their different types in awt?

596


What is an array length?

496


When do we use synchronized blocks and advantages of using synchronized blocks?

659


What’s the difference between unit, integration and functional testing?

612


what are different ways in which a thread can enter the waiting state? : Java thread

488