State the process of rearranging classes and operations, Database Management System

Assignment Help:

State the process of Rearranging Classes and Operations

The various, yet similar operation of different classes can be slightly modified thus that they can be covered by a single inherited operation. The chances of inheritance can be increased by following types of adjustments:

i) Some operations require fewer arguments than other similar operations, such as drawing an object, e.g. circle, triangle, etc. with or without colour fill. So, the attribute colour can be accepted or ignored for consistency with colour displays.

ii) Some operations require less argument than other, as they are special case of general arguments. So, varied newer operation can be implemented by calling general operation and new argument values. For instance, insertion in the beginning or in the end of the list are special cases of insertion in the list.

iii) Different classes can have similar attributes, but dissimilar names. Therefore, they can be combined and placed in base class so that operation to access attribute may match in different classes.

 iv) Sometimes an operation is needed by a subset of classes. In this case, declare operation in base class and all those derived classes which do not need it can be declared as no-operation.

 


Related Discussions:- State the process of rearranging classes and operations

Which operator is used to compare a value to a list literals, Which operato...

Which operator is used to compare a value to a list of literals values that have been specified? BETWEEN operator is used to compare a value to a list of literals values that h

Sparse and dense indexes, Sparse and Dense Indexes These indexes in pri...

Sparse and Dense Indexes These indexes in principle are the similar as that of indexes used at the back of the book. The key facts of the indexes are: They are arranged

Statistical analysis of data, An important first step to the statistical an...

An important first step to the statistical analysis of data is to "get to know your data".  The following tasks should contribute to this. (a)   To the right of the dataset cons

Discuss the mechanism to read data from and write to a disk, Discuss the me...

Discuss the mechanism to read data from and write to a disk? Disk read/write heads are mechanisms in which read data from or write data to disk drives. The heads have gone by

Create a entity-relationship diagrams, This project requires you to create ...

This project requires you to create a database design.  Your design will be documented in a set of Entity-Relationship diagrams.  Draw a set of Entity-Relationship diagrams to mode

Determine Which is not a consequence of concurrent operation, Determine Whi...

Determine Which is not a consequence of concurrent operations? Ans: Update anomaly.

Design and building a distributed information system, prototype of a distri...

prototype of a distributed information system for a national car part retail outlet chain.

Advantages and disadvantages of using a database system, What are the advan...

What are the advantages and disadvantages of using a database system. Sol. Advantages of Database System (DBMS) :  (1) Data Redundancy and Inconsistency: Since differen

Assignment SQL Management Server 2012, Have database built but having probl...

Have database built but having problems with some questions that go with the database

Display how records can be deleted and updated in qbe, With the help of an ...

With the help of an example display how records can be deleted and updated in QBE. (i) Increase Pay_Rate of employees along with the skill of ‘cook' by 10%. (ii) Delete employee

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