wood burning stoves 2.0*
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
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
 
 
subject: Passing Objects to a Method
 
Similar Threads
MouseEvent too slow or am I missing something?
abstract, polymorphism, protected, concrete
MouseEvent too slow or am I missing something?
instantiate an interface???
constructor