Object-oriented modeling (oom) is a methodology for constructing objects using a collection of instances that contain stored values of the instance variables found within an object. This approach creates a unified data model and language environment, allowing for object identification and communication while supporting data abstraction, inheritance, and encapsulation. Abstraction is the process of recognizing and focusing on important characteristics of an object or situation, while filtering out the unwanted ones. Inheritance allows different kinds of objects to share common characteristics, while also defining additional features that make them unique. Encapsulation is the process of combining elements to create a new entity, such as a procedure or complex data type, and is closely related to abstraction and information hiding.
Download Object-Oriented Modeling: Abstraction, Inheritance, and Encapsulation and more Slides Computer Science in PDF only on Docsity!
Object Oriented Model
Object Oriented Model
• Definition:
Object-oriented modeling (OOM) is
the construction of objects using a
collection of objects that contain
stored values of the instance
variables found within an object.
Unlike models that are record-
oriented, object-oriented values are
solely objects.
Data Abstraction
(^) Abstraction is the process of recognizing and focusing on important characteristics of a situation or object and leaving/filtering out the un-wanted characteristics of that situation or object.Lets take a person as example and see how that person is abstracted in various situations
(^) A doctor sees (abstracts) the person as patient. The doctor is interested in name, height, weight, age, blood group, previous or existing diseases etc of a person
(^) An employer sees (abstracts) a person as Employee. The employer is interested in name, age, health, degree of study, work experience etc of a person.
Inhertiance
(^) Different kinds of objects often have a certain