Regarding this question I think the explanation shouldn't say the following: " Further, since it does not return anything, the body part cannot contain an explicit return statement...".
Technically it can. This is legal:
Runnable r = () -> { multiple expressions or none; return; };
			
			
									
									
						About Question enthuware.ocpjp.ii.v11.2.3318 :
Moderators: Site Manager, fjwalraven
- 
				tiagofmartinho
 - Posts: 2
 - Joined: Mon Jun 22, 2020 9:35 am
 - Contact:
 
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.ii.v11.2.3318 :
You are right. Fixed.
thank you for your feedback!
			
			
									
									
						thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 5 guests