Download presentation
Presentation is loading. Please wait.
Published byCameron Wiggins Modified over 9 years ago
1
MCQ The special syntax for invoking a constructor of the base class is: a)super() b)base() c)parent() d)child() 1 Correct Answer = A super();
2
MCQ A method in a subclass is said to _____________ an inherited method if it has the same method declarations as the inherited method. a)copy b)overload c)Cancel d)hide e)override 2 Correct Answer = E override
3
MCQ The keyword ___________ is used in the class declaration of a subclass to indicate its’ superclass. a)Inherits b)Extends c)Implements d)super 3 Correct Answer = b extends
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.