Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Creature creature = new Creature(10,10,true);
- HomeCat homeCat = new HomeCat(25,60,true);
- System.out.println(creature.isHomeCat);
- System.out.println(homeCat.isHomeCat);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement