Saturday 15 October 2011

What is an object in java?



An object is an instance of a class. An object is known by a name and every object contains a state. The state is determined by the values of attributes(variables). The state of an object can be changed by calling methods on it.

The sequence of state changes represents the behaviour of the object.

An object is a software entity that combines a set of data with set of operations to manipulate the data. A class defines the type of object. That is, each object belongs to some class and object is also called an instance.

Click here to download  objects video in java


No comments:

Post a Comment