Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

ternärer operator java

final String msg = num > 10
  ? "Number is greater than 10"
  : "Number is less than or equal to 10";
Source by www.codeflow.site #
 
PREVIOUS NEXT
Tagged: #operator #java
ADD COMMENT
Topic
Name
3+2 =