Operators

© examsiri.com
Question : 16 of 23
 
Marks: +1, -0
Given:
class Alien {
  String invade(short ships) { return "a few"; }
  String invade(short... ships) { return "many"; }
}
class Defender {
  public static void main(String [] args) {
   System.out.println(new Alien().invade(7));
} }

What is the result?
Go to Question: