Sunteți pe pagina 1din 3

CHAPTER 1 : INTRODUCTION TO OBJECT-ORIENTED

(DDWC 2623)

GROUP SECTION 2DDWZ 42


LECTURER NAME MDM. NIK MARIA

NAME MATRIC. NO
ATIQAH AIZAN BINTI AIZAN A18DW1222

SARAH AFIQAH BINTI PAJAR A18DW0029

RAZ NINA BINTI ABDUL RAZAK A18DW0629

ZATUL HIJANAH BINTI BUKHARI A18DW2172

RABIATUL ADAWIYAH BINTI ANUAR A18DW2185

Marks
ADVANTAGES OF OBJECT-ORIENTED

Re-Usability
i. Simplifying the coding because it avoid writing redundant code.
ii. You may create new classes based on existing classes for example inheritance and
polymorphism.
iii. Can focus on improving and modifying code to requirement of project.

Reliability
i. To make the object-oriented system to be more reliable than the traditional system.
ii. New objects can be created anytime because they can be dynamically called and
accessed.
iii. The new objects may inherit the attributes from one, or many other objects.
iv. Reused objects have already been tested.

Extensibility
i. To add new features and extend the program in case of object-oriented programming.
ii. The original class need not be modified at all.
iii. It can be simply done by introducing a few new objects and modifying some existing
ones.
iv. Objects can be maintain separately.

Implementation of Complex Program


i. Loads of development tools to help programmers to compose comprehensible and
quality Java code.
ii. Implement the real-world entities like inheritance, polymorphism and others in
programming.
iii. It is easy to maintain and modify existing code as new objects can be created with
small differences to existing ones.
iv. Provides a clear modular structure for programs for defining abstract datatypes in
which implementation details are hidden.
v. Decomposing a complex problem into smaller chunks or discrete components, it
breaks down your software code into bite-sized – one object at a time.
Save Development Time (and Cost)
i. CASE tools generate the basic code skeleton for the application. This can save a lot of
time in avoiding tedious coding and bugs.
ii. Reusing someone else’s good design saves the time required to develop the design.
iii. The existing methods of the super classes have already been coded and debugged.
Thus, reducing costs.
iv. Re-usable designs and code will be produced using CASE tool, thus reducing costs in
future projects.

Easier Debugging
i. Classes can be tested independently.
ii. With objects, we didn’t have to reproduce all of the code associated with performing
that action.
iii. Objects are a way to simplify that process.
iv. It is always easy and time-saving to maintain and modify the existing codes with
incorporating new changes into it.

Bibliography
1. https://www.educba.com/advantages-of-oop/
2. https://www.javatpoint.com/inheritance-in-java
3. http://www.dba-oracle.com/t_object_oriented_approach.htm
4. https://www.slideshare.net/praveenjigajinni/chapter-04-object-oriented-programming
5. https://pdfs.semanticscholar.org/0c3b/98172de01f22f1694bd582dec6163f614a95.pdf
6. https://www.slideshare.net/kim.mens/software-reuse-and-objectoriented-
programming
7. https://www.slideshare.net/haddara1/introduction-to-object-oriented-programming-
42639494

S-ar putea să vă placă și