Illustrate the definition of the classes and operation, Database Management System

Assignment Help:

The definition of the classes and operation can often be adjusted to increase the amount of inheritance". Justify the above statement.  

Adjustment of Inheritance

The definition of classes and operations can often be adjusted to increase amount of inheritance among the objects. The object designer can rearrange and adjust classes to increase inheritance between the different objects and classes. Sometimes same operation is defined across several classes and can easily be inherited from the common ancestor. By slightly modifying definitions of the operations or classes, the operation often could be made to match. We also can extract common behaviour out of groups of classes to increase inheritance. Similar attributes in various classes may have different names, but by giving some common name and moving them to the ancestor class we can increase inheritance. An operation may be defined on many different classes in a group but be undefined on other classes. To increase inheritance, we can define it on common ancestor class and declare it as a no-op on classes that do not care about it. We can also use the DELEGATION instead of inheritance to share only meaningful attributes among a super class and its sub class.

 


Related Discussions:- Illustrate the definition of the classes and operation

Explain the concept of a data model, Explain the concept of a data model ? ...

Explain the concept of a data model ? Data Model - Model is an abstraction procedure which hides irrelevant details although highlighting details relevant to the application

Explain the static or conservative two phase locking, Explain the Static or...

Explain the Static or conservative Two Phase Locking: Static (or conservative) Two Phase Locking: In this type of scheme, all the data items are locked earlier than any opera

Define the unique constraints for the table client, Define the following co...

Define the following constraints for the table client. (i) BAL_DUE must be at least 1000. (ii) NAME is a unique key. (i)ALTER TABLE CLIENT ADD CONSTRAINT CLIENT_BAL_DUE_C1

List some instances of collection types, List some instances of collection ...

List some instances of collection types? a) sets b) arrays c) multisets

Create the table, Question: Using the data model express the following ...

Question: Using the data model express the following queries in SQL. (a) Create the Table named "Cinema" and make the cinema_code to be the primary key of the relation and

Managing databases, Code an Oracle Database trigger to enforce the constrai...

Code an Oracle Database trigger to enforce the constraint that an employee can never change his or her department.

Differentiate between various levels of data abstraction, Differentiate bet...

Differentiate between various levels of data abstraction? Data Abstraction - Abstraction is the procedure to hide the irrelevant things from the users and represent the rele

Data warehousing and business intelligence, I need help with data warehousi...

I need help with data warehousing and business intelligence course project about designing a data warehouse for a jewelry company that does not have one

Data dictionary, The database is to record information about artists for a ...

The database is to record information about artists for a (music) production company. An artist is the name of a singer or band; the name of the artist, the year the artist started

Explain the disadvantages of a file processing system, Explain the disadvan...

Explain the disadvantages of a file processing system? Ans: Disadvantages of File Processing Systems include: 1) Data Redundancy 2) Data Inconsistency 3) Difficult to acce

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd