public class Test{
public static void main(String args[]){
System.out.println("Hello,my first java program!");
Another a=new Another();
a.say();
}
}
class Another {
void say(){
System.out.println("Another one.");
}
}
实验一 简单java程序设计
最新推荐文章于 2020-10-04 21:01:08 发布