(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]
(g) Implement the void selectDriver(Driver[] drivers) method forthe Passenger class. This method should find the driver that isclosest to the passenger, and assign it as
PayPal Gateway not configured
PayPal Gateway not configured