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

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.

 

Posted Date: 8/30/2013 6:41:28 AM | Location : United States







Related Discussions:- Illustrate the definition of the classes and operation, Assignment Help, Ask Question on Illustrate the definition of the classes and operation, Get Answer, Expert's Help, Illustrate the definition of the classes and operation Discussions

Write discussion on Illustrate the definition of the classes and operation
Your posts are moderated
Related Questions
Explain the concept of Modeling With Objects A model is a conceptual representation of a specification, design or system from a particular point of view. A modelling language

What is the need for triggers? Triggers are useful mechanisms for alerting humans or for starting particular tasks automatically when particular conditions are met.


DROP TABLE Command: When an existing object is not needed for further use, it is always better to eliminate it from the database. To remove the existing object from the databas

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

System Design: An Object Oriented Approach Any software systems always try to change and evolve as technology and business rules evolve. The development of information systems

Evaluate: a.When transactions T1 and T2 are in a deadlock, one of the transactions will eventually implement to completion and let the other one continue implementation. b.

1. Determine that the Checkpoints are a part of  Ans: Checkpoints are a part of Recovery measures

Explain Object oriented Model ? Object Oriented Model - This model is based on the object-oriented programming language paradigm. It involves the features of OOP such as inhe

Define the terms i) Entity set ii) Relationship set Entity set: The set of all entities of the similar type is termed as an entity set. Relationship set: The set of all rela