1.

_____ represents an entity in the real world with its identity and behaviour.(a) A method(b) An object(c) A class(d) An operatorThe question was asked by my school teacher while I was bunking the class.The doubt is from Classes and Objects topic in section Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python

Answer»

Right OPTION is (B) An OBJECT

Explanation: An object represents an entity in the real world that can be DISTINCTLY identified. A class may DEFINE an object.



Discussion

No Comment Found

Related InterviewSolutions