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 is

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!