Explain concept of inheritance with support of example, Database Management System

Assignment Help:

Explain concept of inheritance with support of suitable example.

Inheritance

Inheritance is one of milestone of object-oriented programming language as it allows a creation of hierarchical classifications. Using inheritance we can create a general class which defines trails common to a set of related items. More particular classes can inherit this class and each can add a certain exceptional thing to the resulting new class. The class which inherits from another, class or classes is termed as derived class or subclass and the class/classes from which derived class is made is called as a base class or a super class. For illustration, racing cars, Pick up cars and saloons etc. are all dissimilar kinds of cars in object-oriented terminology racing cars. Pick up cars, and saloons etc. are all subclasses of car class. Also, as illustrated in Figure, below, the car class is super class of sub classes like racing cars, sedans, saloons, convertibles, etc.

 


Related Discussions:- Explain concept of inheritance with support of example

What are the drawbacks of file oriented system in details, What are the dr...

What are the drawbacks of File Oriented System in details?

Mappings between levels and data independence, Mappings between Levels and ...

Mappings between Levels and Data Independence The 3 levels of abstraction in the database do not exist separately of each other. There must be some correspondence, or mapping

Creating database for library, i need help with creating database system fo...

i need help with creating database system for a library

E-commerce and business intelligence systems., Your friend owns and operate...

Your friend owns and operates a wholesale shoe business with annual revenues of $5 million dollars. His wholesale business specializes in supplying and supporting retailers with sh

Define canonical cover, Define canonical cover? A canonical cover Fc fo...

Define canonical cover? A canonical cover Fc for F is a set of dependencies like F logically implies all dependencies in FC and Fc logically shows all dependencies in F.

Decomposition, properties of derirable decomposition

properties of derirable decomposition

How to rearrange classes and operations, Rearrange Classes and Operations ...

Rearrange Classes and Operations Sometimes, the similar operation is defined across different classes and can easily be inherited from a familiar ancestor, but more often oper

Disadvantages or unsecure, In Database software have only pure security or ...

In Database software have only pure security or some dis secured by administrator?

Need for distributed database systems, Need For Distributed Database System...

Need For Distributed Database Systems A distributed database is a set of database kept on multiple computers that appears to applications as a one database. As a result, an app

What is a project operation, What is a PROJECT operation? The project o...

What is a PROJECT operation? The project operation is a unary operation that returns its argument relation with particular attributes left out. Projection is shown by pie (π).

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