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 does no cap mean?

1116


What is the real life example of polymorphism?

1233


What is a superclass in oop?

1217


What is the example of polymorphism?

1206


What is polymorphism and its types?

1127


What does and I oop mean in text?

1307


How does polymorphism work?

1184


How do you define social class?

1115


what's the basic's in dot net

2231


What is use of overloading?

1188


Can we define a class within the interface?

1100


which feature are not hold visual basic of oop?

2233


How is polymorphism achieved?

1109


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6991


What is difference between pop and oop?

1233