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

What are called journaling file systems, What are called journaling file sy...

What are called journaling file systems? File systems that support log disks are known as journaling file systems.

Compare the efficiency of the two mining processes, Consider the following ...

Consider the following database containing five transactions. Let min_sup = 60%. Mine all frequent itemsets using Apriori and FP-growth algorithm. Compare the efficiency of the t

Explain the exists and unique functions of sql, Explain the EXISTS and UNIQ...

Explain the EXISTS and UNIQUE functions of SQL. Give an example for each? EXISTS: The EXISTS function takes one parameter that is a SQL statement. If any records exist which

Example of transaction? , Example :; transfers transfer_amount from x's acc...

Example :; transfers transfer_amount from x's account to y's account ; Supposes x&y both accounts exist TRANSACTION (x, y, transfer_amount) Start transaction IF X AND Y

In an e-r diagram how attributes are represented, In an E-R diagram how att...

In an E-R diagram how attributes are represented ? In an E-R diagram attributes are represented in a ellipse.

Database problem in wordpress, Project Description: I am having a random...

Project Description: I am having a random problem with my Wordpress site. If I click on "Publish" and "Add new", it takes me to a 404 page not found of /wp-admin/post.php (th

Explain equivalent relational schema, Question: (a) Use the following b...

Question: (a) Use the following business rules to produce the E-R diagram. You should clearly show all the minimum and maximum cardinality constraint on each side of the relati

Define check point and its impact on data base recovery, Define check point...

Define check point and its impact on data base recovery.                  Ans:  There could be hundreds of transactions handled per minute, in a large on-line database system.

What is data independence, What is data independence? Data Independenc...

What is data independence? Data Independence: Techniques which permit data to be changed without affecting the applications in which procedure it. There are two types of data

Copy data from one database to another database, Copy Data from One Databas...

Copy Data from One Database to another Database Project Description: I am having two MySQL databases with same tables. I just need to copy one Data from one to another dat

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