Difference between an argument and a parameter?
Answer Posted / venkat
while we are declaring method this parameters
ex: public void test(int a,int b)
{}= this is parameters
while we are passing values through object refernce this
arguments
ex: A a=new A();
a.test(5,5);=this is arguments
Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
What is n in java?
What is the structure of java?
What does += mean coding?
What is a function easy definition?
Does .length start 0 java?
What's a method in programming?
Can sleep() method causes another thread to sleep?
What is thread safe in java?
What is lifetime variable?
What invokes a thread's run() method in java programming?
Can It is possible to synchronize the constructor of a Java Class?
What do u mean by variable?
What is meant by bytecode?
What is a final class in java?
Can a class have multiple subclasses?