摘要: public class h3 { public static void main(String[] args){ // 整数扩展 进制 二进制0b 十进制 八进制0 十六进制0x int i =10; int i2 = 010;//八进制 int i3 = 0x10;//十六进制 0-9 A-F 阅读全文
posted @ 2020-09-26 17:37 Liang-shi 阅读(117) 评论(0) 推荐(0) 编辑
摘要: package helloworld;public class h1 { public static void main(String arg[]){ System.out.println("hello world"); }}/* public 关键字 是描述main方法的 访问权限 static 阅读全文
posted @ 2020-09-26 10:57 Liang-shi 阅读(202) 评论(0) 推荐(0) 编辑