摘要:
1.条件语句if public class HelloWorld { public static void main(String[] args) { boolean b = false; // 如果有多个表达式,必须用大括弧包括起来 if (b) { System.out.println("yes 阅读全文
摘要:
1.算数操作符: +(加) -(减) *(乘) /(除于) public class HelloWorld { public static void main(String[] args) { int i = 10; int j = 5; int a = i + j; int b = i - j; 阅读全文