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();
		}
		
	}
}
posted @ 2013-08-09 08:20  远东悟语  阅读(169)  评论(0编辑  收藏  举报

我是徐冬冬