public class FishMaster { public static void main(String[] args) { String FishReaction; Fish myFish = new Fish(); myFish.dive(2); myFish.dive(3); FishReaction= myFish.say("Hello"); System.out.println(FishReaction); myFish.sleep(); } }
30 дек 2014 16:47 | |
Сообщения:176 | public class FishMaster { public static void main(String[] args) { String FishReaction; Fish myFish = new Fish(); myFish.dive(2); myFish.dive(3); FishReaction= myFish.say("Hello"); System.out.println(FishReaction); myFish.sleep(); } } |