摘要:
小数的优先级高于整数 public class Dome04 { public static void main(String[] args) { int i = 128; byte b = (byte)i; //byte最大支持127,内存溢出 double d = i; //自动转换 //强制转 阅读全文
posted @ 2020-11-29 06:32
Py-JS
阅读(86)
评论(0)
推荐(0)
摘要:
32位cpu:最大支持4G内存 64位cpu:最大支持128G内存 寻址能力 public class Dome02{ public static void main(String[] args) { //整数 int num01 = 10; byte num02 = 20; short num03 阅读全文
posted @ 2020-11-29 06:26
Py-JS
阅读(51)
评论(0)
推荐(0)
摘要:
编译型:整本书翻译 解释型:一句句翻译 源程序经过编译器javac 生成字节码class文件 class文件转给jvm虚拟机运行环境 通过解释器运行在操作系统上 阅读全文
posted @ 2020-11-29 06:24
Py-JS
阅读(81)
评论(0)
推荐(0)