What will be the output?
public static String str() {
return new String[] { "Dog", "Cat", "Wolf"}[2];
}


Posted on by