2 ms·I believe this is called “type narrowing”, and no, Java doesn’t have this.by saagarjha 9y agoI believe this is called “type narrowing”, and no, Java doesn’t have this.