标签:new oid print str 方法调用 method todo int class
package ww;
public class helloword {
public static void main(String[] args) {
// TODO Auto-generated method stub
helloword hh=new helloword();
hh.s();
//s();
helloword.s();
}
public static void s(){
System.out.println("123");
}
}
//静态方法才可以调用静态方法。
标签:new oid print str 方法调用 method todo int class
原文地址:http://www.cnblogs.com/tianzijiaozi/p/7395922.html