INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP)
OBJECT ORIENTED PROGRAMMING TECHNIQUES
-Abstraction: The process of picking out (abstracting) common features of objects and procedures.
-Class: A category of objects.
Languages
-Java
-Python
-C++
Procedural Programming
A programming model which is derived from structured programming.
Languages
-FORTRAN
-ALGOL
-COBOL
FEATURES
Data Abstraction
Encapsulation
OBJECT ORIENTED APPROACH
Focus is on capturing the structure and behavior of information systems into small modules that combines both data and process.
Elements
-Objects
-Attributes
-Behavior
OBJECT ORIENTED ANALYSIS + OBJECT ORIENTED DESIGN (OOAD)
ADVANTAGES
It is easy to understand
It provides re-usability
DISADVANTAGES
All time it is not easy to determine all the necessary class and objects required for a system.
Without an explicit reuse procedure this methodology do
not lead to successful reuse on a large scale.
Unified Modeling Language (UML)
UML is a visual language that lets you to model processes, software, and systems to express the design of system architecture.
Diagrams
Notations