answersLogoWhite

0

Posted by : Govind Singh Lodhi

these are the following differences between java class and object.

1. Class is a way of bind data member and method in single unit where as a object is a value form of a class or a instance of a class that means allocating sufficient amount of memory space.

2. When we define a class ,there is no memory space allocated for data member of a class where as when we create a object of a class memory space is allocated for data members of a class.

3.Class will have exist logically where as object will have exist physically.

4.One class can have only one name where as corresponding one class we can create multiple object.

5.Class load in main memory by using class loader subsystem where as after load class we can create multiple objects of a class.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is difference between links and association?

links are associated with objects and associations are associated with classes.


What is Difference between C structers and classes?

through classes we can create objects and we can implemented businessmathods. in case of structres we can create streuctre variables but not methods this is the major difference


Difference between links and association in object orinted analysis and design?

link is related to objects whereas association is related to classes


What's the difference between Classes 375 377 and 379?

The difference between the Classes 375 377 and 379 is the services that are provided to the customer.


What is the difference between classes of IP addresses?

difference between ip address and class


What is the difference between a whole number a?

A question about "the difference between" requires two objects!


What's the difference between the British Rail Classes 313 315 and 317?

The difference between the British Rail Classes 313,314 and 317 is the different locations in which they are used.


What is the most significant difference between the holdovers and animals in all other classes?

what's the most significant difference between the holdovers" and animals in all other classes. what's the answer.


What is the energy transferred between objects because of a difference in temperature?

The energy transferred between objects due to a difference in temperature is called heat. Heat flows from objects at higher temperatures to objects at lower temperatures until thermal equilibrium is reached.


What are 2 difference between Pluto?

You need two objects between which you can have differences!


Determined by the distance between objects and the difference in mass between the objects?

The distance between objects and the different is 0. The distance between the mass and an object is 1.


What does Difference Between discuss on their website?

The website Difference Between discusses on their website a number of different terms and objects. Site visitors can find various information regarding differences between objects and terms.