Explain the concept of generalization, Computer Engineering

Assignment Help:

Explain the concept of Generalization

Generalization and inheritance are powerful abstractions for sharing the structure and/or behaviour of more than one class.  Generalization can be defined as a relationship between a class, and it determines a hierarchy of abstraction, in which (one or more) subclasses inherit from (one or more) super classes. Inheritance and generalization are transitive across a subjective number of levels in the hierarchy. Generalization is an "is-a-kind of" relationship, such as, PG student is kind of Student, Saving Account is a kind of Account, etc.  Generalization notation is a triangle connecting a super class to its subclasses. The super class is connected with the help of a line to the top of the triangle. The subclasses are connected through lines to a horizontal bar attached to the base of the triangle. Generalization is a very helpful for both abstract modelling and implementation. Take a look in Figure, a generalization of Account class. 

 

20_cse.png

Figure: Generalization of account class


Related Discussions:- Explain the concept of generalization

Determine the disadvantages of fact finding, Determine the Disadvantages of...

Determine the Disadvantages of fact finding -  People are usually uncomfortable being watched and may work in a different way -  What they are watching may not be represent

Conclusion - artificial intelligence , Conclusion - artificial intelligence...

Conclusion - artificial intelligence : If we can determine what the exactly state of the world will be after an agent's action, so we can say the environment is deterministic.

. net is compile time or runtime environment, . NET is Compile Time OR RunT...

. NET is Compile Time OR RunTime Environment?   .Net's framework has CLS,CTS and CLR.CTS checks declaration of types at the time when u write code and CLS explains some rules a

Digital logic, write a short note on the tri state ttl inverter

write a short note on the tri state ttl inverter

Techniques are used to increase the clock rate r, What techniques are used ...

What techniques are used to increase the clock rate R? Ans: The 2 techniques used to increase the clock rate R are: 1. We can reduce the amount of processing done in one basi

Explain random-access semiconductor memories, Q. Explain Random-access Sem...

Q. Explain Random-access Semiconductor Memories Q. What is Basic memory cell? Explain Two Dimension Memory Organization with diagram.

Illustrate organisation of dram chip, Q. Illustrate Organisation of DRAM Ch...

Q. Illustrate Organisation of DRAM Chip? The given figure is a typical organisation of 16 mega bit DRAM. It displays a typical organisation of 2048 × 2048 × 4 bit DRAM chip. Me

Define access time for magnetic disk, Define access time for magnetic disk....

Define access time for magnetic disk. The sum of seek time and rotational delay is known as access time for disks. Normal 0 false false false EN-IN

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