Oracle
1Z0-804 · Question #135
Given two classes in separate files: Which two import statements can make the a.b.parent class compliable?
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #135. The question stem and answer options stay visible for context.
Java Class Design
Question
Given two classes in separate files:
Which two import statements can make the a.b.parent class compliable?
Options
- Aimport a.b.c.Parent;
- Bimport a.b.c.Child;
- Cimport a.b.c.*;
- Dimport a.b.*;
- Eimport a.*;
Unlock 1Z0-804 to see the answer
You've previewed enough free 1Z0-804 questions. Unlock 1Z0-804 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#import statements#package structure#class visibility#subclass import