Objmodel

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 4

OBJECT MODELING

• Basically, it gives architectural support in the software design.


• Object model may be produced as:

Object model

Inheritance model Aggregation model Interaction model


• Hierarchy - shows how classes that -shows interaction
• Object classes inherit are collection are composed between objects .
their attributes and of other classes.
services from one or
more classes.
DATABASE TO UNDERSTAND THIS MODEL
class: person and faculty object1: suraj object2:wangel

Name Suraj Wangel


Address Naikap Boudhha
Age 21 22

Getaddress() Getaddress()=naikap Getaddress()=boudha

FACULTY

Person() Suraj() Wangel()


Faculty_type BCT BCT

Getrollno.() Getrollno.()=88 Getrollno.()=92


ADVANTAGES
• It helps in faster development of software.
• It is easy to maintain. Suppose a module develops an error, then a
programmer can fix that particular module, while the other parts of the
software are still up and running.
• It enables reuse of objects, designs, and functions.
• It reduces development risks, particularly in integration of complex
systems.
• It has provision of encapsulation.
• Reduces the cost of maintaining the same data multiple times.

You might also like