Busted Mug

A blog that documents solutions to the most frustrating problems that occur during development in technologies such as Java, XML, AJAX, SQL, CSS and others that make me want to throw my coffee mug against the cube wall.

Monday, November 20, 2006

The ? : operator in Java

The ? : operator in Java These are great but seldom used. I recommend it. I.E. output = obj.getShowA() ? a: "Not showing a"; It simplifies the multiline structure. Fun.

1 Comments:

At 3:33 AM, Blogger tachjava said...

Very useful information.

Thanks for sharing,
http://www.flowerbrackets.com/java-if-else/

 

Post a Comment

<< Home