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

Answers were Sorted based on User's Feedback



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

Answer / kunal prakash

object is the instance of the class.
class contains data and member functions.

Is This Answer Correct ?    12 Yes 4 No

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

Answer / mallikharjuna

object is a real world entity.
class is a blueprint of object

Is This Answer Correct ?    8 Yes 0 No

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

Answer / hareesh d

Object :is a one which contains both data and member functions
class:which contains group of objects

Is This Answer Correct ?    16 Yes 10 No

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

Answer / guest

object is a runtime entity

Is This Answer Correct ?    5 Yes 2 No

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

Answer / 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

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

Answer / amit

class is key word which is provids to create a user defined
datatypes and
object is delegates of class

Is This Answer Correct ?    2 Yes 0 No

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

Answer / pranay agarwal

class is a template that contain data and functions, an
object can use this template any no. of times .

object is instance of class.

Is This Answer Correct ?    2 Yes 0 No

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

Answer / amit chauhan

object is a real world entity.
class is collection of similar objects.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / amit

class:
is keyword which is used to define the user defined
datatypes to achive the incasulation,
object:
object is instanse of the class which is used for run
(invocks) the class like a key(object) of car(class)

Is This Answer Correct ?    1 Yes 0 No

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

Answer / dulichand kumawat

class: A class is a collection of variables and functions working with these variables. Variables are defined by var and functions by function.

Object: Object is instance of the class which is used for run
the class like a key(object) of car(class)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is inheritance in simple words?

0 Answers  


why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??

1 Answers  


What is variable example?

0 Answers  


What is a friend function & its advantage?

2 Answers   TCS,


WHEN A COPY CONSTER IS CALL ?

4 Answers  






Why is polymorphism needed?

0 Answers  


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

0 Answers  


write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.

4 Answers  


What is encapsulation?

17 Answers   TCS,


What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile

4 Answers  


what isthe difference between c structure and c++ class

5 Answers  


What is oops in programming?

0 Answers  


Categories