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
Explain the B + tree? B + tree is a type of tree which denotes sorted data in a way that permits for efficient insertion, retrieval and removal of records, each of which is
explain participation constraints with examples
Deadlock And Its Prevention: As seen earlier, though two phase locking protocol handles the trouble of serialisability, but it causes some troubles also. For instance, consider th
The participation Constraints shows whether the existence of an entity depends on its being associated to another entity by the relationship type. There are two kinds of participat
explain in detail about crash recovery
Can a stored procedure call itself or recursive stored procedure? How much level SP nesting is possible? Yes. Because Transact-SQL supports recursion, you can write kept proced
atient(PNumber, Name, NHS_no, Amount_due, DNO, Doctor, Medical_Treatment), relation of schema Staff(StaffNum, Name, DNO, Task) and relation of schema Dept(DNO, Name, Location, Dire
(a) What is a Sub-Query? (b) What is the difference between a scalar sub-query and a tabular sub-query? (c) Write an equivalent SQL statement to get the Name of Product wh
Increased overheads on update : On the drawbacks side, it will need the system to ensure that all replicas of a relation are consistent. This shows that all the replicas of the rel
Command Line Interfaces: These are interactive interfaces, character-based that let you use the complete power and functionality of the DBMS query language directly. They permit yo
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