public class Exam5_12
{
void run(){
System.out.println(System.getproperty("java.version"));
System.out.println(System.getproperty("java.vm.version"));
System.out.println(System.getproperty("java.class.path"));
System.out.println(System.getproperty("os.version"));
System.out.println(System.getproperty("user.dir"));
Test t=new Test();
Class c1=t.getClass();
System.out.println(c1.getName());
Class c2=test.class();
System.out.println(c2.getName());
Class c3=int.class();
System.out.println(c3.getName());
Class c4=Integer.TYPE();
System.out.println(c4.getName());
Class c5=Integer.class;
System.out.println(c5.getName());
Runtime rt=Runtime.getRuntime();
System.out.println(rt.totalMemory()/1024);
System.out.println(rt.freeMemory()/1024);
}
public static void main(String arg[]){
Exam5_12 ee=new Exam5_12();
ee.run();
}
}