wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
jQuery in Action, 2nd edition
subject: "Object realted problem"
Similar Threads
Java Print Service to UNC Name
Synchronization issue
Objects eligible for Garbage Colector
How to get an specific object instance!
CMP bean commit problem