CSC/ECE 517 Fall 2009/wiki2 15 sm

From Expertiza_Wiki
Jump to navigation Jump to search

Abstraction and the Object Model

Abstraction

Abstraction is a process in which some characteristics of an entity are removed to reduce it to a set of essential characteristics that can effectively define that entity.It is basically done to reduce complexity.For example : the abstraction of a plastic container to a container will retain only the general information on the behaviour and attributes of the container.The principle of abstraction is an essential element of Object-Oriented programming.One of the most powerful ways of managing abstraction is by using hierarchical classifications.This helps in layering the semantics of complex systems thus breaking them into chunks of manageable pieces.This method of hierarchical abstractions can also be applied to computer programs.The data from a process-oriented program can be transformed into its component objects using the principle of abstraction.

Object Model

Implementation of Abstraction in Object-Oriented Languages

Java

C++

Ruby

C#

Smalltalk

Uses

Links