摘要: 直接实例理解 public class Test { public static void main(String args[]){ int a , b; a = 10; b = (a == 1) ? 20 : 30; // 如果a等于1那么b就等于20,否则等于30 System.out.prin 阅读全文
posted @ 2019-10-13 21:13 LeeHua 阅读(650) 评论(0) 推荐(0) 编辑