

MCQOPTIONS
Saved Bookmarks
1. |
Which of these is correct way of inheriting class A by class B? |
A. | class B + class A {} |
B. | class B inherits class A {} |
C. | class B extends A {} |
D. | class B extends class A {} |
Answer» D. class B extends class A {} | |