Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


difference between class and object

Answers were Sorted based on User's Feedback



difference between class and object..

Answer / srinivas konga

class is acollection of methods
it is a logical representation



object is a instance of class

it is physical representation
it is always in local declaration

Is This Answer Correct ?    27 Yes 4 No

difference between class and object..

Answer / pradeep kumar shukla

class is a reserved keyword to create user define data type
class is a machanism to create abstract, customize data type

object is a collection of variable ,an object made at run time
it is instance of class

Is This Answer Correct ?    4 Yes 0 No

difference between class and object..

Answer / selva

class is a blueprint of an object.

object is instance of class.

Is This Answer Correct ?    3 Yes 0 No

difference between class and object..

Answer / sahil

CLASS IS A COLLECTION OF METHODS
IT IS ALOGICAL REPRESENTATION


OBJECT IS AINSTANCE OF CLASS
IT IS A PHYSICAL REPRESENTATION
IT IS ALWAYS IN LOCAL DECLERATION

Is This Answer Correct ?    2 Yes 0 No

difference between class and object..

Answer / sravani

class tells us how our s/w object looks like after its
construction.it is a logical representation.




object is a physical representation of a class.

Is This Answer Correct ?    2 Yes 0 No

difference between class and object..

Answer / manoj kumar

class is a blueprint or template for creating objects.class
is imaginary.it does not exits in real world .

while , object is an entity with some characteristic and
behavior.it is a real world entity .

In oops ,object is an entity that can store data value and
has its interface through its function.

we can create an object like that:

classname objectname=new classname();

example :

Rectangle s=new Rectangle();

Is This Answer Correct ?    1 Yes 0 No

difference between class and object..

Answer / saquib

class is compiled.
class is a keyword which is used to create customise data type.
class without object is logical.


but object never compiled it only executed.
object is a physical representation of a class

Is This Answer Correct ?    0 Yes 0 No

difference between class and object..

Answer / rajdeep gupta

class in a keyword to create user define data type.it is
only on logical perception .it is collection of similar
types of variable.

object is a variable of class type .there is no meaning of
class without creating object.object is made at run time on
the heap portion of ram

Is This Answer Correct ?    0 Yes 0 No

difference between class and object..

Answer / nishant kumar

class is the collection of data member and member function associated with it.
object is a instance of class.
class is a user define key-word.

Is This Answer Correct ?    0 Yes 0 No

difference between class and object..

Answer / maheshbirajdar

Class -
Class is collection of data member and member function .....
Class is logical entity...
Class is blueprint of object.....

class is collection of objects which holds properties of class...occupy
Object -

object that holds state , behaviour and identity properties

object is nothing but the having same memory space in ram.(minimum 1 byte compiler dependent).....

object is instance of class...............

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

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  


What is a null tree?

0 Answers  


explain dynamic binding by drowing

2 Answers   Cognizant,


What are the benefits of interface?

0 Answers  


WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

21 Answers   Biocon, MIT, NIIT,


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??

1 Answers  


In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that

6 Answers  


What exactly is polymorphism?

0 Answers  


officer say me - i am offered to a smoking , then what can you say

0 Answers  


Why it is called runtime polymorphism?

0 Answers  


Can java compiler skips any statement during compilation time?

0 Answers  


Categories