OO Concepts

What is the meaning of following exam obective under OO Concepts: "State the effect of encapsulation, inheritance, & use of interfaces on architectural characteristics "

Vishakha Ahuja

Ranch Hand

Posts: 191

posted 15 years ago

I only want to know what architectural characteristics are they referring to here ?

Tiger Scott

Ranch Hand

Posts: 223

posted 15 years ago

Flexibility, manageability, scalability etc HTH

Ajith Kallambella

Sheriff

Posts: 5782

posted 15 years ago

Also for developing OO frameworks, components that publish contracts etc.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).

Vishakha Ahuja

Ranch Hand

Posts: 191

posted 15 years ago

Hi, I still don't understand how will 'encapsulation and inheritance' affect the Flexibility, manageability, scalability etc. ? And Ajith, I'm sorry I didn't get what you mean.

John Wetherbie

Rancher

Posts: 1449

posted 15 years ago

Well, I'll take a shot at part of this. I thought this was a rather vague objective. Encapsulation helps improve flexibility & extensibility because you hide the details of how things are done behind an interface. As long as you don't change the interface you don't break anything. Inheritance is a mechanism for implementing polymorphism. So if you design your interfaces correctly and use inheritance you can add classes to your system and everything will continue to work. You can even add new behavior to your system in this fashion. Hope that helps some. John

The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai