QUESTION 5자격증/OCJP_ExamB2018. 7. 9. 00:37
Table of Contents
반응형
QUESTION 5
Given:
10. interface Jumper
{
public void jump();
}
... 20. class Animal {}
... 30. class Dog extends Animal {
31. Tail tail;
32. }
... 40. class Beagle extends Dog implements Jumper{
41. public void jump() {}
42. }
... 50. class Cat implements Jumper{
51. public void jump() {}
52. }
Which three are true? (Choose three.)
A. Cat is-a Animal
B. Cat is-a Jumper
C. Dog is-a Animal
D. Dog is-a Jumper
E. Cat has-a Animal
F. Beagle has-a Tail
G. Beagle has-a Jumper
Solution : BCF
반응형
'자격증 > OCJP_ExamB' 카테고리의 다른 글
QUESTION 7 (0) | 2018.07.09 |
---|---|
QUESTION 6 (0) | 2018.07.09 |
QUESTION 4 (0) | 2018.07.09 |
QUESTION 3 (0) | 2018.07.09 |
QUESTION 2 (0) | 2018.07.08 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상