(Java Problem)In this question we will step you throughimplementing classes and methods in Java for a new ride-sharing appcalled Rebu. Rebu connects passengers looking for a ride withdrivers in their area. You can assume that the classes or methodsin earlier questions “exist” in later questions, even if youhaven’t answered the question. You must follow proper ObjectOriented Design principles, and Java programming conventions. Writeall class declarations. Do not write method signatures that aregiven to you. [30 marks]
(d) Implement the double distance(User other) method for theUser class, which returns the Euclidean (straight line) distancebetween this and other. [2 marks]
Expert Answer
An
PayPal Gateway not configured
PayPal Gateway not configured