System.out.println(name.toUpperCase() + " IS RIDING THE HORSE");
}
}
public class Test {
public static void main(String[] args) {
Animal horse = new Horse();
/*INSERT*/
}
}
Which of the following options, if used to replace /*INSERT*/, will compile successfully and on execution will print EMMA IS RIDING THE HORSE on to the console?
We use cookies to ensure that we give you the best experience on our website (Oracledumps). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the Oracledumps.