SHARE
TWEET

Untitled

a guest Oct 21st, 2019 63 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top