O'Reilly logo
  • Aadil Hussain thinks this is interesting:

You can make it happen by an explicit cast:

From

Cover of OCA Java SE 8 Programmer I Certification Guide

Note

explicitly casting