News

The Java ternary operator provides an abbreviated syntax to evaluate a true or false condition, and return a value based on the Boolean result ... example above could just have easily been written ...
BR><BR>In some languages as I understand it False is the same as the result of 0 in a compare statement while True is the same as NOT 0 (often 1).<BR><BR>Is Java the same?<BR><BR>So if I was ...