
About Question enthuware.ocajp.i.v7.2.965 :
Moderators: Site Manager, fjwalraven
About Question enthuware.ocajp.i.v7.2.965 :
I think the last statement in the explanation should read uninitialized, hence this statement, "Note that it will not compile if break is placed after case 2 because the compiler will figure out that in certain cases val may be left initialized".


Online
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.965 :
You are right. This has now been fixed.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 14 guests