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程序设计
最新推荐文章于 2023-03-24 16:30:23 发布