A number of advantages can be derived as a result of these object oriented features. Some of these are:
Reusability: Rather than endlessly rewriting same piece of
code, we write it once and use it or inherit it as needed.
Extensibility: A class can be extended without affecting its
users provided the user-interface remains the same.
Maintainability: Again, once the user-interface does not
changed, the implementation can be changed at will.
Security: Thanks to information hiding, a user can only access
the information he has been allowed to access.
Abstraction: Classification and Encapsulation allow portrayal of
real-world problems in a simplified model.
Reusability: Rather than endlessly rewriting same piece of
code, we write it once and use it or inherit it as needed.
Extensibility: A class can be extended without affecting its
users provided the user-interface remains the same.
Maintainability: Again, once the user-interface does not
changed, the implementation can be changed at will.
Security: Thanks to information hiding, a user can only access
the information he has been allowed to access.
Abstraction: Classification and Encapsulation allow portrayal of
real-world problems in a simplified model.
No comments:
Post a Comment