对于下列源文件,哪些叙诉是错误的(多选) public class Cat { public void cry() { System.out.println("maiomaio"); } } class E { public static void main(String args[]) { System.out.println("ok"); } }
A.
源文件的名字必须是Cat.java
B.
源文件的名字可以是E.java
C.
编译源文件得到Cat.class和E.class两个字节码文件
D.
Cat类是主类,可以 用 java Cat 运行程序
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】—_________ Mike________ his homework in the evening? —No,he doesn't.A. Do;does B. Doe
A.
4.—_________ Mike________ his homework in the evening? —No,he doesn't. A. Do;does
【简答题】Hello, boys and girls! My name 1 Frank. I am eleven. This is a 2 of my family. This is my father. 3 name is Dale Brown. He is a teacher in my 4 . He teaches English. And that is mother. She is a 5 , t...
【简答题】阅读理解。 Hello, I'm a middle school student from Hainan. My Chinese name is Li Ying. My English name is Alice. I am Chinese. I'm in No. 26 Middle School. I am a good student. Now I am thir years old....