DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
ternary operator in java for null check
String value = object != null ? object.getValue() : null;
Source by tutorials.jenkov.com #
PREVIOUS
NEXT
Tagged:
#ternary
#operator
#java
#null
#check
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit