The class Distance is already defined with a private variable meters, a constructor, and a method getMeters().
getMeters()
Your task is to define the + operator so that two Distance objects can be added.
Example Input:
5 7
Output:
Total=12
Test Cases
Test Results
Input
Expected Output