三元运算符代替if-else main(List<String> args) { int age = 60; String status = age < 50 ? "Still young" : "Old Man"; }