This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Passing Objects to a Method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Passing Objects to a Method" Watch "Passing Objects to a Method" New topic
Author

Passing Objects to a Method

Larry Lai
Ranch Hand

Joined: May 13, 2002
Posts: 44
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

Joined: Dec 10, 2001
Posts: 7023
Take a look at Part 4 (especially chapters 26, 28, and 29) of Bradley Kjell's Introduction to Computer Science using Java.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
...and don't miss the "Cup Size" and "Pass-by-Value Please" stories of the JavaRanch Campfire Stories.
Larry Lai
Ranch Hand

Joined: May 13, 2002
Posts: 44
Hi Dirk,

Thanks a lot what you have done.

Larry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing Objects to a Method
 
Similar Threads
instantiate an interface???
MouseEvent too slow or am I missing something?
MouseEvent too slow or am I missing something?
constructor
abstract, polymorphism, protected, concrete