Java 泛型
import java.io.*; class RuntimeTest { cdv d dc d
import java.io.*; class RuntimeTest { public static void main(String[] args) { Runtime rt=Runtime.getRuntime(); System.out.println(rt.freeMemory()); System.out.println(rt.totalMemory()); try { //rt.exec("notepad"); Process p=rt.exec("javac ArrayTest.java"); InputStream is=p.getInputStream(); int data; while((data=is.read())!=-1) { System.out.print((char)data); } } catch(Exception e) { e.printStackTrace(); } } }
import java.io.*; class RuntimeTest { public static void main(String[] args) { Runtime rt=Runtime.getRuntime(); System.out.println(rt.freeMemory()); System.out.println(rt.totalMemory()); try { //rt.exec("notepad"); Process p=rt.exec("javac ArrayTest.java"); InputStream is=p.getInputStream(); int data; while((data=is.read())!=-1) { System.out.print((char)data); } } catch(Exception e) { e.printStackTrace(); } } }
雨,静静的飘扬;
心,慢慢的行走;
程序人生,人生迈进。