3 ms·
It would be a bottom-type of reference-types. This wouldn’t work for value-types like int, at least not without boxing, which would be very painful.
by DaiPlusPlus 2y ago
It would be a bottom-type of reference-types. This wouldn’t work for value-types like int, at least not without boxing, which would be very painful.
- Kamq 2y agoFair, but those are kind of off in their own in the java hierarchy as is.
- chopin 2y agoBut an int can't be null. If a method takes or returns an int it's guaranteed to be not null.
- DaiPlusPlus 2y ago…yes; that’s my point.