Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package oot.test353;
- public class No1 {
- public static void main(String[] args) {
- Ball b1 = new Ball("Anonymous");
- BeachBall b2 = new BeachBall("Nike");
- b1.move();
- b2.move();
- b2.roll();
- }
- }
Add Comment
Please, Sign In to add comment