Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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
PART MARKING: We will only mark TWO of the four questions below but you must submit answers to all four. We will choose the questions we mark randomly and we will supply you with
Consider student (std_id, std_name, date_of_birth, phone, dept_name). Put the data for a student with student id200, name arun, birth date 1 February, 1985, phone number (01110 328
Complete replication: It implies maintaining of a whole copy of the database at every site. Thus, the reliability & availability and performance for query response are maximized.
What is a state chart diagram? State diagrams (State Chart Diagram) explain all possible states that a particular object can get into, and how object's state changes as result
The PROJECT operation The project operation is used to choose the records with specified attributes as discarding the others based on some related criteria. This is denotes as ∏
What is Trigger? Trigger: A database trigger is procedural code which is automatically executed in response to specific events on a particular table in a database. Triggers can
Question : Object-Oriented Database (OODM) is defined as a logical data model that captures the semantics of objects supported in object-oriented programming. An Object-Oriente
Partial Key : It is a group of attributes that can uniquely identify small entities and that are related to same base entity. It is sometime named as Discriminator. Altern
What is recursive closure? Why is it not possible to describe this operation in relational algebra? Recursive closure is applied to recursive relationship. An instance of rec
What is Trigger? A trigger is a SQL procedure that initiates an action when an event (INSERT, DELETE or UPDATE) occurs. Triggers are kept in and managed by the DBMS. Triggers a
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd