Java is based on pass by reference or pass by value ..

Answer Posted / arun

Java is actually pass-by-value for all variables running
within a single
VM. Pass-by-value means pass-by-variable-value. And that
means, pass-by-copy-of-
the-variable!

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is r in java?

585


What do you mean by order of precedence and associativity?

537


What are the two types of java?

509


Why stringbuilder is not thread safe in java?

557


What is a generic type?

550






Can we override the static method?

564


What is a method header?

538


Difference between current previous versions of Java?

549


What is a Transient Object?

623


What are wrapped classes in java programming?

574


What is included in core java?

571


How static variable work in java?

586


What are the differences between graph and tree?

639


Explain naming conventions for packages?

568


Why are constructors used?

546