Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java 8 if else in one statement

myVariable = (testCondition) ? someValue : anotherValue;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #statement
ADD COMMENT
Topic
Name
2+5 =