01 2021 档案

摘要:JDK帮助文档 https://docs.oracle.com/javase/8/docs/api/ Java Doc *参数信息 @ author 作者名 @ version 版本号 @ since 指明需要最早使用的jdk版本 @ param 参数名 @ return 返回值 @ throw 异 阅读全文
posted @ 2021-01-02 15:12 夏天的素颜 阅读(66) 评论(0) 推荐(0)
摘要:包机制 * 导入这个包下所有的类 阿里巴巴开放手册 阅读全文
posted @ 2021-01-02 15:11 夏天的素颜 阅读(34) 评论(0) 推荐(0)
摘要:拓展运算符 package operator; ​ public class Demo02 { public static void main(String[] args) { int a = 10; int b = 20; ​ a+=b; // a = a + b a-=b; // a = a - 阅读全文
posted @ 2021-01-02 15:10 夏天的素颜 阅读(51) 评论(0) 推荐(0)
摘要:逻辑运算符 //逻辑运算符 public class Demo03 { public static void main(String[] args) { // 与(and) 或(or) 非(取反) boolean a = true ; boolean b = false; ​ System.out. 阅读全文
posted @ 2021-01-01 18:14 夏天的素颜 阅读(48) 评论(0) 推荐(0)