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

Grapgh, representation of the adjacency matrix and adjacency list

representation of the adjacency matrix and adjacency list

Illustrate about the problem statement, Illustrate about the Problem statem...

Illustrate about the Problem statement Problem statement would not be incomplete, inconsistent and ambiguous. Try to state the requirements precisely and point to point. Do no

What is asp.net authentication providers and iis security, What is ASP.NET ...

What is ASP.NET Authentication Providers and IIS Security? ASP.NET implements authentication using authentication providers, which are code modules that verify credentials and

Prepurchase and purchase consummation of consumer mercantile, Differentiate...

Differentiate between Prepurchase and Purchase Consummation of consumer mercantile model. The prepurchase interaction for consumers comprises three activities: Product/ser

What is flag, Flag is a flip-flop used to kept the information about the st...

Flag is a flip-flop used to kept the information about the status of a processor and the status of the instruction implemented most recently A software or hardware mark that si

What is replacement policy in cache, Q.What is Replacement Policy in cache?...

Q.What is Replacement Policy in cache? When a new block has to be fetched in cache the other block may have to be replaced to make room for new block. Replacement policy determ

What are disadvantages of eprom, What are disadvantages of EPROM? The c...

What are disadvantages of EPROM? The chip must be physically removed from the circuit for reprogramming and its whole contents are erased by the UV light.

Transaction that are programmed by the user, How the transaction that are p...

How the transaction that are programmed by the user can be protected? By executing an authority check.

How to use an assembler, Q. How to use an Assembler? Symbolic instructi...

Q. How to use an Assembler? Symbolic instructions which we code in assembly language is called as- Source program. An assembler program translates source program in machine

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