Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java ternary

result = condition ? trueCase : elseCase;
//
int max = a > b ? a : b;
Source by careerkarma.com #
 
PREVIOUS NEXT
Tagged: #java #ternary
ADD COMMENT
Topic
Name
7+2 =