Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Bill Howell   on Nov 09 In Java Category.

  
Question Answered By: Rocco Anderson   on Nov 09

its all pass by reference. nothing is passed by value in Java unless
its a primitive datatype, such as int.

Be careful.

If you do not intend to alter the variable which was passed, make a
copy of it.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Passing Or get search suggestion and latest updates.


Tagged: