Elements of a Good Program Design

Document Type:Essay

Subject Area:Computer Science

Document 1

Good program design should have the following features. Inheritance A good object-oriented software enables the recycling and the reuse of the code used in other existing objects. Inheritance allows the programme to take over functionality from the alternative class named as a base-class or superclass. This makes the programme designing an easy process to the programmer as it extends components with no any insight of how a class was implemented (Jane, 2005). Encapsulation A good object-oriented program should define and create restrictions and permissions for any method, variable or object so as to enable the user to access information and maintain the privacy of data of any user who operates the software. Polymorphism is of two types. That is run-time polymorphism (overriding) and compile-time polymorphism (overloading).

Sign up to view the full document!

From $10 to earn access

Only on Studyloop

Original template

Downloadable