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
What is the difference between double and float variables in java?
what is aggregation in java?
Can we extend singleton class in java?
Explain numeric promotion?
How do you reverse a string in java without using string buffer?
Explain all java features with real time examples
What is vector capacity in java?
What is boolean law?
What is return type in java?
What is a platform?
Is null an object in java?
What do you understand by copy constructor in java?
Can inner class have constructor?
What are 3 boolean operators?
How to split a string in java?