Overview
Encapsulation allows an object to separate its interface from its implementation. The data and the implementation code for the object are hidden behind its interface.
Encapsulation hides internal implementation details from users.
Example:
A Customer may issue a check and now know how it is processed. The internal processing is hidden from the customer. Similary, the [...]
Search Results
OOP Concept – Encapsulation
November 8, 2006 · 25 Comments
Tags: OOP Concepts
OOP Concept – Polymorphism
November 8, 2006 · 17 Comments
Overview
Polymorphism means one entity existing in multiple forms. It provides flexibility to application systems. It simplifies coding and reduces the rework involved in modifying and developing an application. It refers to the ability of an object to take on different forms depending upon the situation.
According to the polymorphism design principle, the same message [...]
Tags: OOP Concepts
OOP Concept – Inheritance
November 8, 2006 · 11 Comments
Basics
Different kinds of objects often have a certain amount in common with each other. Tiger & Cow, for example share the characteristics of Animal; Yet each also defines additional features that make them different. Object-oriented programming allows classes to inherit commonly used state and behavior from other classes.
Inheritance provides a way to extend [...]
Tags: OOP Concepts
OOP – Introduction
November 6, 2006 · 30 Comments
Advantages of OOP
OOP provides advantages over traditional structural programming languages. OOP facilitates writing applications by turning real-world objects into code components. OOP enables users to model real-world objects. Modeling means representing real-world objects as components in Java. Object-Oriented Programming allows programmers and customers to use the same terminology to explain the business [...]
Tags: OOP Concepts


