Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

if and else on one line java

name = city.getName();
if (name == null) name = "N/A";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #java
ADD COMMENT
Topic
Name
4+5 =