.

Core Java for the Impatient

Bug Report Page

Section 13.6
Change
String message = MessageFormat("It is now {0,time,short}.", Date.from(Instant.now()));
to
String message = MessageFormat.format("It is now {0,time,short}.", Date.from(Instant.now()));

Thanks to (your name might go here) for their bug reports and suggestions!

Bug Report Form

Please use this form to report any bugs that you find. Please check the list of known bugs first before you report a bug. Unfortunately, I do not have the time to respond personally to every report, but I do read them all and will post updates to this page. Thank you!

Your name:

Your email address:

Edition:

Section number:

Problem description:

To protect against spam robots, please answer this simple math problem:
* =