Contoh code program operator ternary java