Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Nov 1, 2000

Passing Objects in a Function


In Java, objects are passed to a function by reference, so you can manipulate the object data in the function and have that reflected outside the function also. If you try to swap the values of two object references inside a function, the values for the references inside the function will change, but it won
Kumar Gaurav
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap