Kategorie: Wszystkie - encapsulation - abstraction - class

przez Iffah Hazwani 4 lat temu

540

INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP)

INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP)

INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP)

Unified Modeling Language (UML)

Diagrams
Notations
UML is a visual language that lets you to model processes, software, and systems to express the design of system architecture.

OBJECT ORIENTED ANALYSIS + OBJECT ORIENTED DESIGN (OOAD)

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.

ADVANTAGES
It is easy to understand

It provides re-usability

OBJECT ORIENTED APPROACH

Elements
-Objects

-Attributes

-Behavior

Focus is on capturing the structure and behavior of information systems into small modules that combines both data and process.

FEATURES

Encapsulation
Data Abstraction

Procedural Programming

-FORTRAN

-ALGOL

-COBOL

A programming model which is derived from structured programming.

OBJECT ORIENTED PROGRAMMING TECHNIQUES

Languages
-Java

-Python

-C++

-Abstraction: The process of picking out (abstracting) common features of objects and procedures. -Class: A category of objects.