Object-Oriented Programming (OOP)
What is the name for an instance of a class that contains actual values for the properties defined by the class?
Difficulty: Easy
About this MCQ
This Easy Object-Oriented Programming (OOP) MCQ checks one syllabus fact.
The question is: “What is the name for an instance of a class that contains actual values for the properties defined by the class?”
The accepted answer is D. Object. Object refers to an instance of a class that contains actual values for the properties defined by the class.
- A. Interface
Why not A: “Interface” is not correct. The accepted answer is D. Object. Object refers to an instance of a class that contains actual values for the properties defined by the class.
- B. Inheritance
Why not B: “Inheritance” is not correct. The accepted answer is D. Object. Object refers to an instance of a class that contains actual values for the properties defined by the class.
- C. Constructor
Why not C: “Constructor” is not correct. The accepted answer is D. Object. Object refers to an instance of a class that contains actual values for the properties defined by the class.
- D. Object ✓
Correct answer
D. Object
Explanation
Object refers to an instance of a class that contains actual values for the properties defined by the class.
Source: Object-Oriented Programming (OOP) Official Reference Guide
Tags: computer science, oop, object-oriented programming, software design
Submitted by: MCQsHub Editorial
Related MCQs
- The concept in which a special method automatically invoked when an object is destroyed, used to release resou...
- Identify the correct definition of Destructor.
- What term describes the following? a class member that belongs to the class itself rather than to any individu...
- In computer science, Static member refers to which of the following?
- Select the correct name for: a keyword that controls the visibility and accessibility of a class's members, su...
- Which statement correctly explains Access modifier?