Single Choice Easy

QThe ............... is called an instance of a class.

ID: #22023 Basic Concept of OOP 87 views
Question Info
#22023Q ID
EasyDifficulty
Basic Concept of OOPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A attribute
  • B object
  • C state
  • D features
Correct Answer

Explanation

object

Reason — The data members declared within a class are known as instance variables. When an object of a class is created, it includes instance variables described within the class. Hence, an object is called as an instance of a class.

Share This Question

Challenge a friend or share with your study group.