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

Why is method overloading not possible by changing the return type in java?

1001


Can I override protected method in java?

1070


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2334


What is the association?

978


How do you remove an object from an arraylist in java?

967


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1157


What is package protected in java?

982


What are identifiers in java?

1119


What is an class?

1032


What is the difference between access specifiers and access modifiers in java?

1166


what do you understand by the term string with respect to java?

1039


When do we use synchronized blocks and advantages of using synchronized blocks?

1226


How do you start a new line in java?

981


Explain covariant method overriding in java.

1101


What is broken and continue statement?

994