多项选择题

Given two files:
1. package com;
2. public class Extramuros {
3. public static void howdy() {System.out.print("howdy "); }
4. public static final Extramuros ex = new Extramuros();
5. public int instVar = 42;
6. public enum avout {OROLO, JAD};
7. }
1. // insert code here

6. public class Theorics {
7. public static void main(String[] args) {
8. Extramuros.howdy();
9. System.out.print(Extramuros.avout.OROLO + " ");
10. howdy();
11. System.out.print(ex.instVar + " ");
12. }}
Which are the minimum line(s) of code to add at "insert code here" for the files to compile (Choose all that apply.)

A.import static com.*;
B.import com.Extramuros;
C.import com.Extramuros.*;
D.import static com.Extramuros;
E.import static com.Extramuros.*;
F.Even with correct imports, the code will not compile due to other errors.
题目列表

你可能感兴趣的试题

微信扫码免费搜题