KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > T151241rs3


1
2 class T151241rs3 {
3     public static void main(String JavaDoc[] args) {
4         try {
5             Class JavaDoc c = T151241rs3.class.forName("T151241rs3");
6             System.out.print((c == T151241rs3.class ? "OK" : "oops"));
7         } catch (Exception JavaDoc e) {
8             System.out.print("Unexpected: " + e);
9         }
10     }
11 }
12     
Popular Tags