The ternary operator is a shorthand way of writing a conditional statement in Java. It is also known as the conditional operator or the ternary conditional operator.
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
If you enjoyed what you read here, create your account today and start earning FREE STEEM!