SHARE
TWEET

Untitled

a guest Oct 17th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Boat extends Vehicle{
  2.      public Boat(String brand,int kilometers){
  3.         super(brand,kilometers);
  4.     }
  5.      
  6.       @Override
  7.     public String doStuff() {
  8.        return "je suis "+ this.getBrand()+ " et je fais glou glou ! ";
  9.     }
  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