Answers for "=true in if and else java"

34

if else java

if (condition) {
	// statement
} else if(condition){
	// statement
}else{
  // statement
}
Posted by: Guest on January-18-2022
0

how to shorten if else if and else in java

return a == b? "b"
     : a == c? "c"
     : a == d? "d"
     : "x";
Posted by: Guest on March-07-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language