Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q4054, November 02, 1999 at 11:26:02:

You are here: irt.org | About | Feedback | 556 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q4054

Sent by
Robert MacNeill on November 02, 1999 at 11:26:02:

Technical:
Just right

Comments:
It is indeed possible to make use of a class with a Java application that does not exist at runtime - use:

Class.forName( myClass ).newInstance()

where myClass is the classname and package of the class in question. This is useful for specifying classes that implement an interface.





©2018 Martin Webb