Hi,
I am preparing OCA 1z0-808 exam with Sybex.OCA.OCP.Practice.Tests.Exam book. I encountered wrong answer, because I tested in
IDE. 20th question in Chapter 3;
What is the output of the following application?
public class Dancing{
public static void main(
String[] args) {
int leaders = 10 * (2 + (1 + 2 / 5));
int followers = leaders * 2;
System.out.println(leaders + followers < 10 ? "Too few" : "Too many");
}
}
The answer should be "Too many". But it claimed that it should be "The code does not compile"
I want to infrom about it
Best regards
Onur