OSM Full Form
OSM refers to “Object-Oriented System Modeling” or the full form of OSD is “Object-Oriented System Modeling” in Information Technology.
What Object-Oriented (O-O)
Object-Oriented Analysis describes an information system by identifying things called objects that represent a real person, place, event, or transaction.
Object-Oriented methodology is popular because it integrates easily with object-oriented programming languages such as java, Smalltalk, VB.Net, Python, and Perl
Programmers also like O-O code because it is modular, reusable, and easy to maintain.
Object-Oriented Terms and concepts
There are various Object-Oriented Terms and concepts:
Unified Modeling Language: Method of visualizing and documenting an information system.
Attributes: Characteristics the describes the object
Methods: Tasks or Functions that the object performs
Message: A command to perform a method
Class: A group of similar objects
Instance: A specific member of class
Objects: Represented as a rectangle with the object name at the top, followed by the object’s attributes and methods.
Encapsulation: All data and methods are self-contained
Classes: An object belongs to a group or category called a class
- All objects within a class share common attributes and methods
Subclasses – Object within class
- TRUCK object represent a subclass within the VEHICLE class, along with other subclasses called CAR, MINIVAN, SCHOOL BUS
Superclass – A general category
- A NOVEL class belongs to a superclass called BOOK, because all novels are books.