Java Utililty Methods Boolean Convert to
List of utility methods to do Boolean Convert to
HOME
Java
B
Boolean Convert to
Description
The list of methods to do Boolean Convert to are organized into topic(s).
Method
String
boolToYesNo(boolean b)
return "yes" if true, "no" if false.
String
s =
"no"
;
if
(b) { s =
"yes"
;
return
s;
«
1
2
3
»