Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
How can I get a static instance of my class on which to call .getname() ? My goal is to retrieve a String of the class name, but I can't use this.getClass().getname() since 'this' is non-static and my method IS static! Or I'd take any other command anyone knows to retrieve the name of the current class from within a static context. THANX
Replies:
|
Sponsored Links
|