Re:Java 12
by ars on Tuesday March 19, 2019 @05:19PM
(#19436029)
I assume the expression becomes null if none of those match?
[ Parent
| on HN ]
Re:Java 12
by _old_dude_ on Tuesday March 19, 2019 @05:26PM
(#19436093)
No my bad, it doesn't compile, you have to add a default.