Given the code fragment from three files: Which code fragment, when inserted at line 2,
enables the code to compile?
A.
Option E
B.
Option D
C.
Option A
D.
Option C
E.
Option B
Given the code fragment from three files: Which code fragment, when inserted at line 2,
enables the code to compile?
A.
Option E
B.
Option D
C.
Option A
D.
Option C
E.
Option B
Correct Answer : A – Option E
import sales.*;
import sales.products.*;
Note: The file Market.java should be renamed to USMarket.java according with the suggestion of netbeans.
Definitely E
Answer: A (option E)
Tested
a
Answer: A (option E)
A (Option E)