Difference between an argument and a parameter?

Answer Posted / roqaya nezar

suppose i have a method that i just defined, the variablse
i passed to this method are the parameters
but, when i use the defined method i will pass values to
its variables, now they are arguments.

Is This Answer Correct ?    29 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain inner class.

577


Why can't we make a class private in java?

527


Does constructor creates the object ?

571


How do you escape sequences in java?

580


Why is stringbuffer faster than string?

475






Is it possible to write a regular expression to check if string is a number?

529


What is immutable data?

567


Is java map thread safe?

479


What is singleton class example?

576


What do you understand by overloading and overriding in java?

533


Is a class subclass of itself?

587


I want to persist data of objects for later use. What is the best approach to do so?

580


Is 9 a prime number?

456


How do you reverse a string in java?

570


What is the difference between object oriented programming language and object based programming language?

546