Wednesday, December 24, 2008


Java is an object oriented programming a language. As the name indicates, objects are the fundamental units of such programming languages. Every object has a state and behavior associated with it. The state of the object is the variables and constants associated with the objects. Behavior is the action that can be performed by the object. This behavior is represented in programs by sequence of statements that perform a specific task. They are also known as methods. So, objects consist of constants, variables and methods. At higher level, every object is created from a prototype called class.

No comments: