北小柒

导航

 

2021年9月21日

摘要: public class Demo03 { public static void main(String[] args) { //整数拓展: 进制 二进制0b 十进制 八进制0 十六进制0x int i = 10; int i2 = 010; //八进制0 int i3 = 0x10;//十六进制0 阅读全文
posted @ 2021-09-21 17:22 北小柒 阅读(24) 评论(0) 推荐(0)
 
摘要: public class Demlo02 { public static void main(String[] args) { //八大基本数据类型 //整数 int nmu1 = 10; byte num2 = 20; short num3 = 30; long num4 = 30l; //小数: 阅读全文
posted @ 2021-09-21 17:22 北小柒 阅读(26) 评论(0) 推荐(0)