class Alien { String invade(short ships) { return "a few"; } String invade(short... ships) { return "many"; } } public class Defender { public static void main(String [] args) { System.out.println(new Alien().invade(7)); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment