• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OO Concepts

 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I only want to know what architectural characteristics are they referring to here ?
 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Flexibility, manageability, scalability etc
HTH
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also for developing OO frameworks, components that publish contracts etc.
 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic