Define the concept of inheritance, Computer Engineering

Define the concept of Inheritance

Inheritance is property of reusing the code within the object oriented development. While modelling, we look at the all the classes, and try to group similar classes together so that code reuse can be applied. Generalization, specialization, and inheritance all have a very close association. Generalization is used to indicate the relationship between classes, and this feature generalization relationship is used by inheritance for sharing attributes and operations. In respect of inheritance, specialization and generalization are two phases of a coin in such a way that if a   subclass is seen from a superclass that subclass is seen as a specialized version of   superclass and vice versa, a superclass looks like general form of subclass.

 

Posted Date: 8/27/2013 3:30:08 AM | Location : United States







Related Discussions:- Define the concept of inheritance, Assignment Help, Ask Question on Define the concept of inheritance, Get Answer, Expert's Help, Define the concept of inheritance Discussions

Write discussion on Define the concept of inheritance
Your posts are moderated
Related Questions
Have you heard about e-commerce? What place is e-commerce located at? What are e-commerce objectives? When did e-commerce starts? How e-commerce works? Who takes advantages of e-co

Need of CISC CPU -  computer architecture: Why is Intel spending money and time to manufacture the Pentium II and the Pentium III? The answer of this question is simple, ba

DHCP stands for? DHCP that is stands for Dynamic Host Configuration Protocol.

Data, information and knowledge - Information System The nature of information can most easily be defined in the context of its relationship to data and knowledge. Bohn (1994)

Decision Trees - Artificial intelligence: Suppose you just ever do four things at the weekend: go shopping, watch a film, play tennis or just stay inside.  What you do depends

Step 1: Click on the icon in the object tool bar Or Insert -> Media -> Choose the media type to be inserted Step 2: Find and select the file required (browse) Step 3: C

Classical approach - Canonical genetic algorithm: However returning to the classical approach, as there example, whether solving a particular problem involved finding a set of

First-Order Models: Here if we proposed first-order logic as a good knowledge representation language than propositional logic is just because there is more expressive than we

Q. Illustrate Character Coded Data? The input output happens in the form of ASCII data. These ASCII characters are entered as a string of data. For illustration to get two numb

What are the mapping techniques? a)Direct mapping b) Associative mapping c)  Set associative mapping