Posts

Showing posts from 2012

An Overview Of Java

Image
Object Oriented Programming Object Oriented Programming (OOPs) is an extension of the concept of structured programming. It specifies that a program is composed of objects that contain both data and procedures that act on that data. Properties of OOPs Abstraction An essential element of object oriented programming is abstraction. Human manages complexity through abstraction. People do not think of a car as a set of tens of thousands of individual parts. They think of it as a well defined object with its own unique behavior. Three Principles of OOPS All object-oriented programming languages provide mechanisms that help you implement the object oriented model. They are encapsulation, inheritance and polymorphism. Encapsulation Encapsulation is the mechanism that binds together code and data it manipulates and keep both safe from outside interference and misuse. Inheritance Inheritance is the process by which one object acquires the properties of another object. This is important because ...