QUESTION 9자격증/OCJP_ExamC2018. 7. 21. 16:45
Table of Contents
반응형
QUESTION 9Given:1. package geometry;2.3. public class Hypotenuse {4. public InnerTriangle it = new InnerTriangle();5.6. class InnerTriangle {7. public int base;8. public int height;9. }10. }Which statement is true about the class of an object that can reference the variable base?A. It can be any class.B. No class has access to base.C. The class must belong to the geometry package.D. The class must be a subclass of the class Hypotenuse.Solution : C
반응형
'자격증 > OCJP_ExamC' 카테고리의 다른 글
QUESTION 11 (0) | 2018.07.21 |
---|---|
QUESTION 10 (0) | 2018.07.21 |
QUESTION 8 (0) | 2018.07.21 |
QUESTION 7 (0) | 2018.07.21 |
QUESTION 6 (0) | 2018.07.21 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상