摘要:
package operator;//三元运算符public class Demo08 { public static void main(String[] args) { // x ? y : z // 如果x==true,则结果为y,否则为z int score = 80; String typ 阅读全文
posted @ 2022-04-11 14:59
努力努努力
阅读(17)
评论(0)
推荐(0)
摘要:
package operator;public class Demo07 { 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 阅读全文
posted @ 2022-04-11 14:58
努力努努力
阅读(26)
评论(0)
推荐(0)
浙公网安备 33010602011771号