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 are the Differences Object and Class?

Answer Posted / guest

Classes and objects are separate but related concepts.
Every object belongs to a class and every class contains
one or more related objects.1)A Class is static. All of the
attributes of a class are fixed before,during, and after
the execution of a program.
The attributes of a class don't change.The class to which
an object belongs is also (usually) static. If a particular
object belongs to a certain class at the time that it is
created then it almost certainly will still belong to that
class right up until the time that it is destroyed.
2)An Object on the other hand has a limited lifespan.
Objects are created and eventually destroyed. Also during
that lifetime, the attributes of the object may undergo
significant change.So basically the difference between a
class and an object is that a class is a general
concept while objects are the specific and real instances
that embody that concept. When creating an object oriented
program we define the classes and the relationships between
the classes . We then execute the program to create,
update, and destroy the objects which are the specific
realization of these classes.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about literals?

1000


How do I prevent multiple instances of my program?

1427


Explain about control properties?

1131


What is meant by Establish Connection in RDO?

2343


Which method is used to write context Into file?

2036


How do you create a form in visual basic?

948


What is ODBC Direct and Microsoft Jet Database Engine ?

2238


What is DBSqlPassThrough?

3219


How come I get a "No Current Record" error when I use a a Data Control on an empty table?

1514


What is ODBC Direct and Microsoft Jet Database Engine ?

2467


How to control the file?

1094


Data Control missing from toolbox when I use VB under NT3.5. Why?

1461


___,___ and __ are difference between image and picture controls.

1550


How would you Create a Query Builder and Explain its uses ?

2259


What is the use of Active Control Property?

1921