Question: Java programming question (Object oriented programming) Answer FULL question properly for thumbs up: Question 3 (a) A route travelled between two locations can be represented

Java programming question (Object oriented programming)

Answer FULL question properly for thumbs up:

Java programming question (Object oriented programming) Answer FULL question properly for thumbs

Question 3 (a) A route travelled between two locations can be represented as a series of points on a map. The UML diagram below shows a relationship between two classes that are supposed to represent a route and a point, respectively. Describe the relationship suggested by the diagram, explain why it is wrong and then redraw the diagram to show the relationship correctly Point Route (b) Write down the Java code implied by the UML class diagram below Moveable Vehicle Car (c) A student of object-oriented programming is heard to say Overloading is when you write another version of a method that has more parameters than the first. Overriding is when you write a new version of a method in a subclass, replacing the old version. The old version is then no longer accessible." Explain what is wrong with these statements (d) Imagine you are developing a notifications system in Java. The system should deliver notifications to relevant users when an event occurs. Users are able to express different preferences for receiving notifications. The system must allow notifications via email SMS text messages and tweets to start with, and will need to support other notification mechanisms in the future Describe how you might implement such a system in an object-oriented way, so that it is as flexible and easy to maintain as possible. Your description should identify the classes that are needed and explain carefully how flexibility is achieved, using small fragments of code where appropriate to illustrate the discussion

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!