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 difference between class and object?

Answer Posted / renjith

The terms ‘class’ and ‘object’ are absolutely related to one another, but each term holds its own distinct meaning.
The term ‘class’ refers to the actual written piece of code in which the class is defined. The properties of a class
do not change before, during, or after the execution of a program.
The term ‘object’, however refers to an actual instance of a class. Every object must
belong to a class. Objects are created and eventually destroyed – so they only live in the program for a limited time. While objects are ‘living’ their properties may also be changed signficantly.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a gui component handle its own events?

1115


Can we override singleton class?

988


What is a boolean used for?

1117


Why do we override tostring method in java?

973


What is the use of object and class classes?

1045


What is difference between pointer and reference?

1077


Can we declare a constructor as final?

1321


What is a method in programming?

1191


Is char a method in java?

1073


Are strings immutable in java?

992


What is the implementation of destroy method in java. Is it native or java code?

975


how is final different from finally and finalize in java?

1063


What are the high-level thread states in java programming?

1063


Explain the access modifiers for a class, method and variables?

1146


What is super constructor?

1005