Question 56Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

What is the relation between object and class in an object oriented programming?

  1. AObject is keyword of class
  2. BObject is scope of class
  3. CObject is instance of class
  4. DObject is type of class
Show answerHide answer

Correct answer: (C) Object is instance of class

Explanation

A class is a blueprint, and an object is an instance of that class created in memory.

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 56 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.