5. Design and implement a set of classes that define varioustypes of electronicsequipment(printers, cellphones,IPod, AlarmClocks, etc.)according to the following UML(see next page).Includedata values that describe various attributes of the electronics,such as the weight, cost, and the names of the manufacturers.Include methods that are named appropriately for each class andthatprint an appropriate message. Create a maindriver classtoinstantiate and exercise several of the classes.
Answer to Use java 5. Design and implement a set of classes that define various types of electronicsequipment(printers, cellphones…