Introduction Object-Oriented Programming
Introduction Object-Oriented Programming
1.Single inheritance
2.Multilevel inheritance
3.Multiple inheritance
4.Hierarchical inheritance
5.Hybrid inheritance
Polymorphism
• Compile-time Polymorphism
• Runtime Polymorphism
Dynamic Binding
2.State Model: State model describes those aspects of objects concerned with
time and the sequencing of operations – events that mark changes, states that
define the context for events, and the organization of events and states.
The rules of UML specify how the UMLs building blocks come together to develop diagrams. The
rules enable the users to create well-formed models. A well-formed model is self-consistent and
also consistent with the other models.
UML has rules for:
Names – What elements can be called as things, relationships and diagrams
Scope – The context that gives a specific meaning to a name
Visibility – How these names are seen and can be used by the other names
Integrity – How things properly relate to one another
Execution – What it means to run or simulate a model
Common Mechanisms in UML (conceptual model of uml)
Why UML is easy to learn and use? It’s because of the four common mechanisms that
apply throughout the UML. They are:
1. Specifications
2. Adornments
3. Common divisions
4. Extensibility mechanisms