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

Program which take input two images by homography, The goal of this questio...

The goal of this question is to create a program that takes as input two images that are related by a homography, and which "warps" the second image (piscine2.bmp) to align with th

Instruction set architecture, Question (a) A 500 MHz Pentium III proce...

Question (a) A 500 MHz Pentium III processor takes 2 ms to run a program with 200,000 instructions. A 300 MHz UltraSparc processor takes 1.8 ms to run the same program with 23

What is vector processing, What is vector processing?  There is ...

What is vector processing?  There is a class of computational problems that are beyond the capabilities of a conventional computer. These problems are characterized by t

DBMS, what is dbms goal?

what is dbms goal?

Explain error-detection code, Q. (192.8)10 - (AE.E)16 = (X)8, Find value of...

Q. (192.8)10 - (AE.E)16 = (X)8, Find value of x. Use 8's complement method. Q. Write first 10 numbers in the base 4. Q. Explain Error-Detection code & Error-correction code w

Block diagram of an associative memory, Q. Block diagram of an associative ...

Q. Block diagram of an associative memory? The block diagram of an associative memory is displayed in Figure below. It comprises of a memory array and logic for m words with n

What search method would be most appropriate and why, (a) Describe fully in...

(a) Describe fully in your own words the following terms: (i) Turing Test (ii) Agent (iii) Utility-based agent (b) A Mars rover has to leave the lander, collect rock sample

Find out data changing from special code to temporal code, Data can be chan...

Data can be changed from special code to temporal code by using ? Ans. By using Shift Registers data can be changed from special code to temporal code. A Register wherein data ge

Dpsd -asynchronous circuits, an asyncronous sequential circuit is described...

an asyncronous sequential circuit is described by the the exitatio function and the output function y=x1x2''+(x1=x2'')y output function z=y a)draw the logic diagram of the circuit.

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