Showing posts with label Short Notes on OOPS in java. Show all posts
Showing posts with label Short Notes on OOPS in java. Show all posts

Thursday, December 24, 2009

Short Notes on OOPS in java

Short Notes on OOPS:

Abstraction:

It denotes the essential characterstics of an object which differentiate from other object and thus provide crisply defined conceptual boundaries relative to the perspective viewer.

Encapsulation:

It is the mechanism that binds together the code and the data it manipulates and keeps both safe from outside misuse and interference.

Inheritance:

One object acquired the properties of another Object.

Polymorphism:

It is an ability of an object to take on many forms.

Ex: Compile time polymorphism – method over loading

Run time polymorphism – method overriding