Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Boat extends Vehicle {
- public Boat(String brand, int kilometers) {
- super(brand, kilometers);
- }
- @Override
- public String doStuff() {
- return "Je suis" + this.getBrand() + " et je fais glou glou !";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement