本博客由 [Pipe](https://github.com/b3log/pipe) 强力驱动
0 篇文章

  SpringBoot配置文件加载5大结论

结论 1@Value+@Profile 注解@Value+@Profile 注解可以动态读取 SpringBoot 的 application 配置文件属性值,不能读取自定义配置文件属性值。如果找不到启动时就会报错。结论 2@Value+@Profile+@PropertySource 注解@Value+@Profile+@PropertySource 注解可以读取@PropertySource 注解指定的配置文件属性值

  接口、抽象类的继承与实现和执行顺序详解

接口的继承和实现接口的继承接口可以继承接口,而且可以多继承,只有类继承类才是单继承。publicinterfacePerson{Stringage="24";voidage();}publicinterfaceSuperMan{Stringname="张三";voidname();}publicinterfaceFatherextendsSuperMan,Person{}同时子接口不需要重写父接口的