answersLogoWhite

0

Add your answer:

Earn +20 pts
Q: Design a generalization and ndashspecialization hierarchy for a motor-vehicle sales company. The company sells motorcycles passenger cars vans and buses. Justify your placement of attributes at each l?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is specialization.Explain how it is different from generalisation?

A generalization specialization relationship indicates a commonality and similarity between classes. It indicates that a superclass (generalization class) and subclass (specialization class) have common attributes, operations, and relationships. A superclass has the most general attributes, operations, and relationships that may be shared with subclasses. A subclass is a specialization of a superclass.


What is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes?

1-Generalization2-Sub-type3-Extension4-SpecializationI think Answer is 1-Generalization.


Explain the different between generalization and specilization with examples?

What is specialization & generalization? Explain how generalization is different from specializationSpecialization is a property of inheritance used for creating specialized attributes, methods that only apply to objects of that class. Specialized classes are subclasses placed below super classes. Generalization is the process of extracting shared characteristics from two or more classes, and combining them into a generalized superclass.Shared characteristics can be attributes, associations, or methods. Generalized classes are generally parent classes of specialized classes. In other words generalization is bottom up approach whereas specialization is Top to bottom approachExample:In Figure , the classes car and scooter partially share the same attributes. From a domain perspective, the two classes are also very similar. During generalization, the shared characteristics are combined and used to create a new superclass vehicle. car and scooter become subclasses of the class vehicle.Similarly, the class vehicle has the a special attribute, which is needed only for car, but not for scooter. Additionally there is a special attribute, which is needed only for scooter Obviously, here two similar but different domain concepts are combined into one class. Through specialization the two special cases vehicles are formed The epecial attribute is placed where it belongs-in car /scooter.


What is generalization in software engineering?

While solving a problem ,try to discover if it is an instance of a more general problem whose solution can be reused in other cases carefully balance generality against performance and cost sometimes a general problem is easier to solve than a special case


What are the attributes of development?

ment and its attributes


What is the opposite of generous?

Some antonyms for generous are: Stingy Cheap Miserly Tight-fisted Penny-pinching Uncharitable Selfish *One use of the word "penurious" is "not generous."


What is the attributes of project?

attributes Good points


What are the attributes of development administration?

ment and its attributes


What are the attributes of a firefighter?

There can be various attributes of an element. Firefighter could be a custom tag with various attributes.


What is text attributes?

Text attributes are the characteristics of text. Font, size, and style are all attributes of text.


Attributes you will bring to the lab?

Attributes you will bring to the lab?


Attributes of a 3d shapes?

attributes are different from others.