Skip to content

Object-Oriented Programming (OOP)

The concept in which a keyword used in a subclass to refer to members or methods of its immediate parent class is best known as which of these terms?

Difficulty: Medium

About this MCQ

This Medium Object-Oriented Programming (OOP) MCQ checks one syllabus fact.

The question is: “The concept in which a keyword used in a subclass to refer to members or methods of its immediate parent class is best known as which of these terms?”

The accepted answer is A. Super keyword. The concept in which a keyword used in a subclass to refer to members or methods of its immediate parent class is best known as which of these terms is answered by Super keyword option A Option B Static binding does not match the stem it is a near-miss used to catch incomplete recall of Super keyword Option C Singleton pattern does not match the stem it is a near-miss used to catch incomplete recall of Super keyword Remaining alternatives Composition over inheritance fall outside the same rule and should be eliminated once Super keyword is identified Object-Oriented Programming OOP questions of this type reward precise definitions rather than approximate associations Object-Oriented Programming OOP recall of this distinction is a.

Correct answer

A. Super keyword

Explanation

The concept in which a keyword used in a subclass to refer to members or methods of its immediate parent class is best known as which of these terms is answered by Super keyword option A Option B Static binding does not match the stem it is a near-miss used to catch incomplete recall of Super keyword Option C Singleton pattern does not match the stem it is a near-miss used to catch incomplete recall of Super keyword Remaining alternatives Composition over inheritance fall outside the same rule and should be eliminated once Super keyword is identified Object-Oriented Programming OOP questions of this type reward precise definitions rather than approximate associations Object-Oriented Programming OOP recall of this distinction is a.

Source: Object-Oriented Programming (OOP) Official Reference Guide

Tags: computer science, oop, object-oriented programming, software design

Submitted by: MCQsHub Editorial

Related MCQs

More Object-Oriented Programming (OOP) MCQs