Question
1. Discuss the difference between inheritance and composition. What are the advantages and disadvantages of each? Can you implement one with the other? 2. How
1. Discuss the difference between inheritance and composition. What are the advantages and disadvantages of each? Can you implement one with the other? 2. How is a class similar to a database table? How is it different? How do these similarities and differences justify the need for class models and for data models? Or do they? 3. Discuss the difference between association and composition. What are the advantages and disadvantages of each?
4. When would you apply inheritance? When would you not? Provide examples of
when inheritance is appropriate and when it is not, discussing each.
5. Compare and contrast the concepts of coupling and cohesion. How do they relate,
if at all, to one another?
6. Describe the relationship between polymorphism and typing.
7. Via the Internet, research common database technologies including relational
databases, object databases, object-relational databases, XML databases,
network databases, and hierarchical databases. Provide at least one example of
each. Compare and contrast each technology, listing the advantages,
disadvantages, and an indication of when you would use each.
8. How do interfaces reduce coupling in OO systems? In what ways might they
increase it? Why?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started