随笔分类 -  Java SE/EE

Java基础知识
摘要://1. 定义一个函数式接口 interface ILike{ void lambda(int a,int b); } //2。实现函数式接口 class Like implements ILike{ @Override public void lambda(int a,int b) { Syste 阅读全文
posted @ 2022-02-09 06:32 蓝天可乐 阅读(52) 评论(0) 推荐(0)
摘要:概念 程序所发生的错误 分类 编译时异常:编译期间,某段代码发生问题,需要提前给出解决方案,否则编译不通过; 运行时异常:编译通过,运行出错 体系结构 Throwable: Error:严重性错误 Exception: RuntimeException: 运行时异常 !RuntimeExceptio 阅读全文
posted @ 2022-02-08 14:57 蓝天可乐 阅读(68) 评论(0) 推荐(0)