90 likes | 250 Views
Object Oriented. Structural Or Object Oriented Approached. Structural Approach Think for Modular Driven Design Top Down Decomposition. Sub Program. Sub Program. Sub Program. Sub Program. Sub Program. Structural. Main Program. ???. AHA…. And Sub Program can devided into
E N D
Structural Or Object Oriented Approached • Structural Approach • Think for Modular Driven Design • Top Down Decomposition
Sub Program Sub Program Sub Program Sub Program Sub Program Structural Main Program ??? AHA…. And Sub Program can devided into Smaller sub program too Poor decomposition is problem usually appearance in this approached, hard to maintain a program whith this approached Think to solve main problem or main program divided into subprogram Thinking How To Solve The Problem
Object Oriented • Think the main concept is object • Object is a model from reality(problem domain)
Object Oriented Approached Problem Domain Object Object Object Object All Object, interaction to solve taks the problem domain
The Advantage Object • Seamless Movement Between Stages Analysis Implementation Design Object
The Advantage Object • Encapsulation To Access data another object must send message to execute public method object Another Object Cant Direct Access to Data Method Atribute or Data Method Method
Vehicle Speed Color Start Polimorphism Car Motorcycle Start Start start method can build in child class