Presentation is loading. Please wait.

Presentation is loading. Please wait.

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();

Similar presentations


Presentation on theme: "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();"— Presentation transcript:

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


Download ppt "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();"

Similar presentations


Ads by Google