logoalt Hacker News

layer8yesterday at 9:58 PM1 replyview on HN

Java has char as an unsigned 16-bit integer type. They should have made byte unsigned as well.


Replies

pjmlptoday at 6:20 AM

Usually you don't do arithmetic with char in Java, this isn't C culture of anything goes.

show 2 replies