News

The Java ternary operator return cannot be void. However, it can be null. There are many instances where it makes sense to have a Java ternary operator return null. That is allowed, but void is not.