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...


What is the difference between class and object?

Answers were Sorted based on User's Feedback



What is the difference between class and object?..

Answer / neha

classes and objects are seprate but related concept.every
object belong to a class and every class contains one or
more objects.

Is This Answer Correct ?    7 Yes 1 No

What is the difference between class and object?..

Answer / suvarna handore.

Class is a basic entity which allow to combine data and
manipulators. In class definition we need to club data
members and member functions.The usability of structure and
function together in C++ is known as class.
Objects are the basic runtime entities. Object is an
instance of class.To access data members and member
functions within classes, objects are required. We can
access data from outside the class using objects.

Is This Answer Correct ?    2 Yes 1 No

What is the difference between class and object?..

Answer / johncz

Class is a template for the custom type that can be used as
variable. It defines types of data that class contains and
the set of functions to manipulate those data types. It is
just a recipe to be used when class is instantiated.

Object is an entity created using class template. Such an
object occupies computer’s memory. Each object of the class
is independent entity.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between class and object?..

Answer / kanchi

class is the advance version of structure because it contains the data and functions both so it is wrapped into a single unit called encapsulation.
Object is the instance of class and it always created at run time

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Explain polymorphism? What r the types of polymorphism? pls give examples?

4 Answers   HCL,


What is a unary operator?

5 Answers  


i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.

1 Answers   Syntel,


Difference between realloc() and free?

9 Answers   HP,


You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.

10 Answers   Zycus Infotech,


What is class in oop with example?

0 Answers  


what are the characteristics of oops?

7 Answers   NIIT,


Are polymorphisms mutations?

0 Answers  


inheritence with example

1 Answers  


What do you mean by Encapsulation?

0 Answers   Ittiam Systems,


what about you? wahat is your object? introduce your self?

1 Answers   Ajmal Perfumes, TCS,


what is the definition of incapsulation

2 Answers  


Categories