Subscribe Us

header ads

Object-oriented design

2. Object-oriented design :-

In object oriented design approach the system is viewed as a collection of object.

Important concept used in the object oriented approach

  • Object : All entities involved in the solution design are known as objects. For example person Bank company and users are considered as object.Every entity has some attributes associated with it and has some method to perform on the attributes.
  • Classes : in any system there number of objects some of the objects may have common characteristics and we can group the object according to their characteristics this type of grouping is known as a classes.
  • Messages : Object communicate by message passing. message contains the identity of the target object the name of the requested operation and any other operation need to perform the function.
  • Abstraction : Abstraction is the elimination of the irrelevant and the amplification of the essentials. In object oriented design complexity is managed using abstraction.
  • Encapsulation : The data and the object are encapsulated within its method and are available only through message based communication.
  • Polymorphism : Object oriented design language provide a mechanism where method performing similar task but very in arguments can be assigned the same name. This is known as polymorphism.

Post a Comment

0 Comments