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