operator ternary di java untuk pemeriksaan nol

String value = object != null ? object.getValue() : null;
Nice Newt