[HD Pg 139, Sec. 6.1.2 - bad-syntax]

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Username987654
Posts: 95
Joined: Sat Dec 26, 2015 6:37 pm
Contact:

[HD Pg 139, Sec. 6.1.2 - bad-syntax]

Post by Username987654 »

Code: Select all

boolean flag = false;
if( flag ) ; else System.out.println("false");
}
should be

Code: Select all

boolean flag = false;
if( flag ) ; else System.out.println("false");
?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: [HD Pg 139, Sec. 6.1.2 - bad-syntax]

Post by admin »

Correct.
Added to errata.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests