Skip to content

Object-Oriented Programming (OOP)

Select the accurate description of Interface.

Difficulty: Hard

About this MCQ

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

The question is: “Select the accurate description of Interface.”

The accepted answer is C. A contract that defines a set of methods a class must implement without specifying how.. Interface refers to a contract that defines a set of methods a class must implement without specifying how.

Correct answer

C. A contract that defines a set of methods a class must implement without specifying how.

Explanation

Interface refers to a contract that defines a set of methods a class must implement without specifying how.

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