枚举的使用 1 背景及定义 枚举是在JDK1.5以后引入的。主要用途是:将一组常量组织起来,在这之前表示一组常量通常使用定义常量的方式
public static int final RED 1;
public static int final GREEN 2;
public static int final BLACK 3;
但是常量…
Linux 背景知识 Linux 是什么 Linux 是一个操作系统. 和 Windows 是 "并列" 的关系.
Unix & Linux 发展历程图 经过这么多年的发展, Linux 已经成为 世界第一大操作系统. 有的同学可能表示, Linux 都是世界第一大操作系统了, 我咋还没听说过? 不, 其实你听…
question
Nginx添加CSP响应头设置之后报错:
Refused to load the font data:application/x-font-woff;charsetutf-8;base64,d09G…’ because it violates the following Content Security Policy directive: “default-src ‘self’”. Note that ‘font-src’ w…
error
IntelliJ IDEA 报错:Override is not allowed when implementing interface method
resolution
解决办法:修改module设置 File->Project Structure->Module->Language Level 改为6及6以上即可