WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.

Answer Posted / deepika

object is the real world entity and it is the instance of a
class.

collection of objects is known as class. all the objects
which belongs to the same class share same properties and
common behaviour.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism in oops?

552


Why do we use oops?

585


how to get the oracle certification? send me the answer

1656


How do you explain polymorphism?

580


What is difference between data abstraction and encapsulation?

608






Why oops is important?

599


can inline function declare in private part of class?

3651


What is a superclass in oop?

661


What is difference between pop and oop?

597


What does and I oop mean in text?

614


What is object in oops?

606


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1633


What is abstraction encapsulation?

647


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1608


What is inheritance in simple words?

617