标签:test void main mac print stat terminal object rgs
Mac terminal Javac
Open the Terminal‘s vim , then write them:
public class test{
public static void main(String[] args){
System.out.println("test");
}
}
First, to make the .class file, this is java‘s object file.
? Desktop javac test.java
Then run this java app.
? Desktop java test test.class
test
标签:test void main mac print stat terminal object rgs
原文地址:http://www.cnblogs.com/xiaobo-Linux/p/7498402.html