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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of oop over procedural language?

1090


What language is oop?

1013


What is the difference between a constructor and a destructor?

1262


How do you use inheritance in unity?

1082


How do you achieve polymorphism?

1082


What is the real life example of polymorphism?

1177


can we make game by using c

4149


can inline function declare in private part of class?

4417


What is inheritance in simple words?

1058


Which language is not a true object oriented programming language?

1140


What is polymorphism in oops with example?

1057


Is this job good for future? can do this job post grduate student?

2166


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6681


any one please tell me the purpose of operator overloading

2401


Is abstract thinking intelligence?

1054