Define the term- making common behaviour abstract, Database Management System

Assignment Help:

Making Common Behaviour Abstract

Let us define abstraction "Abstraction means to focus on the necessary, inherent aspects of an entity and ignoring its accidental features". Or we can say, if a set of operations and/or attributes seem to be repeated in two classes. There is a chance of applying inheritance. It is possible that two classes are really specialised variations of something when viewed at a higher level of abstraction. 

 When general behaviour has been recognised, a common super class can be created which implements the shared features, leaving only specialised features in subclasses. This transformation of the object model is known as abstracting out a common super class or common behaviour. Generally, the resulting super class is abstract, meaning that there are no direct instances of it, but behaviour it defines belongs to all instances of its subclasses. Such as, again we take a draw operation of any geometric figure on display screen requires setup and rendering of geometry. The rendering varies between different figures, such as circles, , spines and lines, but the setup, such as setting the colour, line thickness and other parameters, can be inherited directly by all figure classes from abstract class figure.

The creation of abstract super classes also enhances the extensibility of software product, by keeping space for further addition on base of abstract class

 


Related Discussions:- Define the term- making common behaviour abstract

Define specialisation and generalization in brief, Define Specialisation an...

Define Specialisation and generalization in brief? Specialisation / generalization: Generalization or Specialization represents the is a relationship set, an necessary element

Why as clause is used in sql, Why 'AS' clause is used in SQL ? 'As' cla...

Why 'AS' clause is used in SQL ? 'As' clause is used for Rename operation. ‘AS' clause is used in SQL for rename operation. (e.g., SELECT ENO AS EMPLOYEE_NO FROM EMP)

ERD, #question.ERD of any car

#question.ERD of any car

What is the use of sub queries, What is the use of sub queries? A sub q...

What is the use of sub queries? A sub query is a select-from-where expression that is nested with in another query. A common use of sub queries is to do tests for set membershi

What are the uses of odbc, What are the uses of ODBC? Under what circumstan...

What are the uses of ODBC? Under what circumstances we use this technology? ODBC expose database capabilities within a standardized way to the application programmer by an ap

Which data manipulation command combines the records, Which data manipulati...

Which data manipulation command combines the records from one or more tables ? JOIN data manipulation command combines the records from one or more tables.

Differentiate between key and superkey, Differentiate between Key and super...

Differentiate between Key and superkey? Key and superkey - A key a single attribute or a combination of two or more attributes of an entity set in which is used to identify o

Ways to suggest the dba, a)  Suppose we updated the catalog tables in real ...

a)  Suppose we updated the catalog tables in real time, that is, after every update, insert, or delete SQL statement were executed-rather than only running RUNSTATS once every few

Mis, explain three types of internet risks to the consummers whent he busin...

explain three types of internet risks to the consummers whent he business system is data dependent. how can we minimise these risks

What is data model, A Data Model in software engineering is an abstract...

A Data Model in software engineering is an abstract model that organizes and documents the business data for interaction between team members and is used as a plan for creating

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