What is the relation between object and class in an object oriented programming?
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.
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.
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.