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 is extension method in java?

572


What is classname class in java?

554


What are the differences between include directive and include action?

557


What is flush buffer?

532


Can constructor be protected in java?

522






Do we need to manually write Copy Constructor?

614


When we should use serialization?

578


Write a program to find the greatest of three numbers in java?

574


Why do we need hashset in java?

525


What is the argument in java?

505


Is sizeof a preprocessor?

558


'A class is a template for an object' explain this statement.

558


Why is it called buffering?

593


Is 64bit faster than 32 bit?

590


Implement two stacks using a single array.

583