摘要:
public class Demo04 { public static void main(String[] args) { //低 >高 //byte、short、char->int->long->float->double int i = 128; //强制转换,(类型)变量名 高-->低 by 阅读全文
posted @ 2021-03-10 21:44
杰myx
阅读(47)
评论(0)
推荐(0)
摘要:
public class Demo03 { public static void main(String[] args) { //整数扩展: //进制: 二进制0b 八进制0 十进制 十六进制0x int num1 = 10; //十进制 int num2 = 010; //八进制0 int num 阅读全文
posted @ 2021-03-10 20:46
杰myx
阅读(87)
评论(0)
推荐(0)

浙公网安备 33010602011771号