摘要:
public class Day07 { public static void main(String[] args) { int a = 10; int b = 20; a+=b;//a=a+b a-=b;//a=a-b System.out.println(a); //字符串连接 System. 阅读全文
摘要:
public class Day08 { public static void main(String[] args) { //x ? y : z //如果x==true ,则结果为y 否则为z int score = 80; String type = score<60?"不及格" : "及格"; 阅读全文
摘要:
<div><br class="Apple-interchange-newline">public class Day04 { public static void main(String[] args) { //++ -- 自增,自减 一元运算符 int a = 3;</div> public c 阅读全文