问题:[选择题]
A.public B.private C.protected D.没有这种类
● 参考解析
解析:每个Java程序的主类都必须是public类,主类名与源文件名必须相同,
推荐题目
相关标签