H
Hal Vaughan
I asked a similar question and was able to work it out and get some answers,
but this one is a bit harder. If I do this:
MyObject myObj = new MyObject();
Is there any way I can, from within myObj, get the *name* of that particular
object? I know I can do this:
myObj.getClass().getName();
and I'll get "MyObject", but I would like to be able to get the name given
to that object.
Thanks!
Hal
but this one is a bit harder. If I do this:
MyObject myObj = new MyObject();
Is there any way I can, from within myObj, get the *name* of that particular
object? I know I can do this:
myObj.getClass().getName();
and I'll get "MyObject", but I would like to be able to get the name given
to that object.
Thanks!
Hal