摘要:
基本运算符 public class 基本运算符 { public static void main(String[] args) { //二元运算符 int a = 10; int b = 20; int c = 30; int d = 40; System.out.println(a+b) 阅读全文
摘要:
类型转换 public class 类的转换 { public static void main(String[] args) { /*类型转换 低 高 byte,short,char-int-long-float-double 高到低强制转换,低到高自动转换 */ //强制转换 int a 阅读全文