DEVFYI - Developer Resource - FYI

How the object oriented approach helps us keep complexity of software development under control?

Java Interview Questions and Answers (part 1)


(Continued from previous question...)

122. How the object oriented approach helps us keep complexity of software development under control?

We can discuss such issue from the following aspects:

  1. Objects allow procedures to be encapsulated with their data to reduce potential interference.
  2. Inheritance allows well-tested procedures to be reused and enables changes to make once and have effect in all relevant places.
  3. The well-defined separations of interface and implementation allow constraints to be imposed on inheriting classes while still allowing the flexibility of overriding and overloading.

(Continued on next question...)

Other Interview Questions