Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args)
- {
- String typeFish = null;
- String size = null;
- String color = null;
- Aquarium aq = new Aquarium();
- Fish[] fishies = new Fish[10];
- fishies[0].setColor("Green");
- fishies[0].setSize("Big");
- fishies[0].setTypeFish("Trout");
- fishies[1] = new Fish(typeFish, size, color);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement