Explain pass by reference and pass by value?

Answer Posted / harsha

Passing the address itself rather than passing the value is
called ?Pass By Reference? and Passing a copy of the value
to be passed is called as ?Pass by Value?.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string is a data type in java?

587


What is the difference between abstract class and interface1? What is an interface?

555


Why do we use regex?

555


What are untrusted applets?

585


Is java good for beginners?

578






What is a static method in java?

535


What is ternary operator in java?

591


What is the final class modifier?

555


What is hashset in java?

524


How many types of design patterns are there?

528


What differences exist between iterator and listiterator?

567


What is return in java?

552


What happens when you add a double value to a string?

538


What is java reflection?

531


What is array initialization in java?

486