A
AeroCheetah
Unregistered / Unconfirmed
GUEST, unregistred user!
1。请问各位大虾:public static void main是当*.java执行的时候自动调用的吗?
2。请问下面各个public method代表什么意思?有什么区别?
public class Sterling {
public Sterling() {
}
public static void main(String[] args) {
Sterling sterling1 = new Sterling();
}
public int roll(){
}
}
谢谢
2。请问下面各个public method代表什么意思?有什么区别?
public class Sterling {
public Sterling() {
}
public static void main(String[] args) {
Sterling sterling1 = new Sterling();
}
public int roll(){
}
}
谢谢