Thursday, 19 May 2016

Keyword Break and Continue


Continue can be only used inside for, while and do loop.
Break can be used outside loop, for instance, in the switch.

label:
{
 .... statement a;
   break label;
 ... statement b;
}
 .... statement c;

On the break, it try to handle control back to the label, and it start to operate on the statement c.

No comments:

Can Jackson Deserialize Java Time ZonedDateTime

Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...