Object-Oriented Programming (OOP)
In computer science, Static member refers to which of the following?
Difficulty: Medium
- A. The practice of restricting direct access to an object's internal data to protect it from unintended interference.
- B. A mechanism where the method to be executed is determined at runtime rather than at compile time.
- C. A design pattern that restricts the instantiation of a class to a single shared object.
- D. A class member that belongs to the class itself rather than to any individual object instance. ✓
Correct answer
D. A class member that belongs to the class itself rather than to any individual object instance.
Correct answer
Source: Object-Oriented Programming (OOP) Official Reference Guide
Tags: computer science, oop, object-oriented programming, software design
Submitted by: MCQsHub Editorial
Related MCQs
- Identify the correct definition of Destructor.
- Which statement correctly explains Access modifier?
- The concept in which a special method automatically invoked when an object is destroyed, used to release resou...
- Which concept is defined as follows: a design principle in which a class is built using instances of other cla...
- What is Composition primarily used for?
- The following statement describes a specific concept. What is it called? a relationship between two separate c...