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.
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.
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:
Very useful information.
Thanks for sharing,
http://www.flowerbrackets.com/java-if-else/
Post a Comment
<< Home