Java: How to load a class (and its inner classes) that is already on the class path?

Posted by Zombies on Stack Overflow See other posts from Stack Overflow or by Zombies
Published on 2010-05-19T18:40:35Z Indexed on 2010/05/19 19:10 UTC
Read the original article Hit count: 113

Filed under:
|

How can I load a class that is already on the class path, instantiate it, and also instantiate any inner classes defined within it?

EG:

public class TestClass {


    public class InnerClass { }

}

© Stack Overflow or respective owner

Related posts about java

Related posts about classloader