1. class A {
2. A() { }
3. }
4.
5. class B extends A {
6. }
Which two statements are true? (Choose two)
A. Class B's constructor is public.
B. Class B's constructor has no arguments.
C. Class B's constructor includes a call to this().
D. Class B's constructor includes a call to super().
A. 안적으면 default
B. 정답
C. 그럼 무한 루프에 빠짐.
D. 정답
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.