bagaimana cara mempersingkat jika lain jika dan lainnya di 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";