This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ""Object realted problem"" Watch ""Object realted problem"" New topic

"Object realted problem"

Vishal Methi
Ranch Hand

Joined: Jan 14, 2004
Posts: 52
Hi All,
I have 4 object of one class ..... either of one is active only ....... so it possible to get the name of the active object.....
So plz anyone let me know how to get the name of the object.......

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Active? What do you mean? Can you explain a little more thoroughly?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
Moving this to the Java in General (Beginner) forum. Please continue this discussion there. Thank you

[Blog] [Blogroll] [My Reviews] My Linked In
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
What do you mean by "active"? And what do you mean by "the name of the object"? Do you really mean the name of the class?
If you can post some code to clarify your question, that will help us answer your questions more accurately.

Java API Documentation
The Java Tutorial
Don't get me started about those stupid light bulbs.
subject: "Object realted problem"
Similar Threads
Synchronization issue
Objects eligible for Garbage Colector
How to get an specific object instance!
Java Print Service to UNC Name
CMP bean commit problem