About Question enthuware.ocpjp.i.v11.2.3086 :
Posted: Thu Aug 22, 2019 11:55 am
Hi! I don't get this part
events.forEach( (k, v)->processEvents(v));
The lambda expression being passed to forEach is syntactically correct. However, the type of v is Object and there is no processEvents method available that can accept an Object.
Why v is Object?
events.forEach( (k, v)->processEvents(v));
The lambda expression being passed to forEach is syntactically correct. However, the type of v is Object and there is no processEvents method available that can accept an Object.
Why v is Object?