Guest User

Untitled

a guest
Oct 21st, 2019
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Boat extends Vehicle {
  2.  
  3. public Boat(String brand, int kilometers) {
  4. super(brand, kilometers);
  5. }
  6.  
  7. @Override
  8. public String doStuff() {
  9. return "Je suis" + this.getBrand() + " et je fais glou glou !";
  10. }
  11.  
  12. }
RAW Paste Data