1.

An object can be used to represent _________________(a) A real world entity(b) A real function(c) Some real data only(d) Some function onlyI got this question in an internship interview.This is a very interesting question from Object Use in division Object of Object Oriented Programming

Answer»

The correct answer is (a) A REAL world entity

Easiest EXPLANATION - The OBJECTS are actually meant to represent an entity. The classes are real world object’s blueprint. The classes then are USED to create an entity REPRESENTATION.



Discussion

No Comment Found

Related InterviewSolutions