home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 25 / CDROM25.iso / Share / prog / VJ11 / VJTRIAL.EXE / IE30Java.exe / classd.exe / java / lang / Class.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-01-27  |  918 b   |  29 lines

  1. package java.lang;
  2.  
  3. public final class Class {
  4.    private int internal;
  5.  
  6.    public static native Class forName(String var0) throws ClassNotFoundException;
  7.  
  8.    public native String getName();
  9.  
  10.    public native Class[] getInterfaces();
  11.  
  12.    public native ClassLoader getClassLoader();
  13.  
  14.    protected native void finalize();
  15.  
  16.    private Class() {
  17.    }
  18.  
  19.    public native Object newInstance() throws InstantiationException, IllegalAccessException;
  20.  
  21.    public native Class getSuperclass();
  22.  
  23.    public native boolean isInterface();
  24.  
  25.    public String toString() {
  26.       return (this.isInterface() ? "interface " : "class ") + this.getName();
  27.    }
  28. }
  29.