This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing Objects to a Method

 
Larry Lai
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
How're you doing?
One basic knowledge I'm not familiar with is 'Passing Objects to a Method'
The sample code is as below:



It's from textbook and it's talked about Passing Object to a Method.
The main point that the author talks about is "copy the reference from obj" then, made it to the s...
I'm not sure what it is? Does anyone know about that ?

Thanks
Larry
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at Part 4 (especially chapters 26, 28, and 29) of Bradley Kjell's Introduction to Computer Science using Java.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and don't miss the "Cup Size" and "Pass-by-Value Please" stories of the JavaRanch Campfire Stories.
 
Larry Lai
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dirk,

Thanks a lot what you have done.

Larry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic