Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PetMaster {
- /**
- * @param args
- */
- public static void main(String[] args) {
- String petReaction;
- Pet myPet = new Pet();
- myPet.eat();
- petReaction = myPet.say("Cheek-Chee-reek!");
- System.out.println(petReaction);
- myPet.sleep();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement