home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 August / PCO0897.ISO / browser / tonline / ie32.exe / IEXPLORE.CAB / CLASSES.ZIP / java / lang / Class.class (.txt) < prev    next >
Encoding:
Java Class File  |  1996-10-01  |  977 b   |  29 lines

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