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

Consistency, what do you mean by consistency in rdbms?

what do you mean by consistency in rdbms?

What is meant by mean time to failure, What is meant by mean time to failur...

What is meant by mean time to failure? The mean time to failure is the amount of time that the system could run continuously without failure.

Query optimization in database system, Problem : AirwaysCentre, an inte...

Problem : AirwaysCentre, an international airline booking company currently uses a relational database system for their operations, which includes the following relations: P

Draw enhanced er-diagram for hierarchy of a student database, Draw an EER d...

Draw an EER diagram that captures the "is-a" hierarchy of students in another simple database. The database captures both the "basic" information (say, student ID and student name)

Data warehouse, XYZ is a large chain of home entertainment rental over 100 ...

XYZ is a large chain of home entertainment rental over 100 stores distributed over all states in Australia. XYZ lends entertainment products such as movies, TV shows and games on v

Describe file organisation, Describe file organisation? A file is organ...

Describe file organisation? A file is organized logically as a sequence of records. These records are mapped onto disk blocks. A) Fixed-Length Records Type deposit=record

In how many parts events are classified, In how many parts events are class...

In how many parts events are classified Events are classified as four types in UML 1.  Signals 2.  Calls 3.  Passing of Time 4.  Change in State

Illustrate the collaboration and relationship diagram, Illustrate the colla...

Illustrate the collaboration and relationship diagram A collaboration is the society of interfaces, classes and other elements which work together to provide some cooperative b

Abstract data structures, The C_Artist  application will be developed using...

The C_Artist  application will be developed using the C language (C99 standards) and will be able to compile without warnings and link and run in the Swinburne computer laboratorie

Write short notes on relational model, Write short notes on relational mode...

Write short notes on relational model The relational model uses a collection of tables to show both data and the relationships between those data. The relational model is an ex

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