Structured Programming Object-oriented programming Break down programs in functions and data Combine functions and data in classes or objects It has the characteristics of Sequence, Selection and Repetition It has the characteristics of Encapsulation (packaging), Inheritance (inheritance) and Polymorphism (differences in shape and behavior) The program structure is complicated because it is a sequence of processes and functions The program structure is concise, enough to create objects and classes and then work based on these objects and classes. Lacking program reusing The program code is very reusable. object and class can be used many times, so as to save memory space. Effectively used to solve small problems and not suitable for solving complex problems, because later it will be difficult to find solutions to problems when an error occurs Effectively used to solve large problems, because OOP consists of classes that separate each program
Komentar
Posting Komentar