Monday, October 10, 2011

OOP Concept in Java

Definition of Class: - Classes are the fundamental building blocks of a Java program. which contain the data member and member function

Definition of Object:- Objects are key to understanding object-oriented technology. object are connect to the real world. every object have to characteristic. they have state and behavior. An object stores its state in fields and exposes its behavior through methods (Object are the instance of the class)

Definition of Inheritance:- inheritance is the process by which object of  one class  acquire the property of object of another class.

Definition of Polymorphism:- polymorphism means ability to take more than in one form.

Definition of Encapsulation:- The Wrapping up of data and method into the single unit is known as encapsulation.

Definition of Abstraction:- Abstraction in Java allows the user to hide non-essential details relevant to user. It allows only to show the essential features of the object to the end user.

No comments:

Post a Comment