Review Questions |
5.1 |
What will be the result of attempting to compile and run the following class?
public class IfTest { public static void main(String[] args) { if (true) if (false) System.out.println("a"); else System.out.println("b"); } } Select the one correct answer.
|
Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.