cómo acortar si más si y else en java
return a == b? "b"
: a == c? "c"
: a == d? "d"
: "x";
Joyous Jackal
return a == b? "b"
: a == c? "c"
: a == d? "d"
: "x";