摘要:
public class Demo08 { public static void main(String[] args) { /* 三元运算符 X ? Y : Z 如果x==true,则结果为Y,否则返回Z. */ int score = 60; //判断及格与否 String perform = 阅读全文
posted @ 2021-08-20 09:19
小风扇呜呜呜
阅读(48)
评论(0)
推荐(0)
摘要:
public class Demo11 { public static void main(String[] args) { int a = 10; int b = 20; a = a+b; System.out.println(a); System.out.println(" "); //字符串连 阅读全文
posted @ 2021-08-20 09:08
小风扇呜呜呜
阅读(99)
评论(0)
推荐(0)
浙公网安备 33010602011771号