每天进步一点点
123456789101112131415
class Util private constructor() { companion object { val instance by lazy { Util() } } var age = 10 public fun getA() { }}fun main(args: Array<String>) { Util.instance.getA() Util.instance.age}
阅读全文
1.su root使用root权限进行全局设置1sudo gedit ~/.bashrc
su root
1
sudo gedit ~/.bashrc
unzip 文件名
配置文件放在main下的resources文件夹下新建spring配置文件spring-context,在这个文件配置扫描业务层12<!--扫描业务层组件--><context:component-scan base-package="com.zxy.sample.server"/>
12
<!--扫描业务层组件--><context:component-scan base-package="com.zxy.sample.server"/>
查询maven依赖库
使用SSM(Spring+SpringMVC+MyBatis)技术搭建AndroidSample服务器端程序 工具:IntelliJ IDEA 前端:jquery 、bootstrap 后端: 试图技术:jsp mvc框架:springMVC 容器框架:spring 数据层:mytabis 数据库: 连接池:c3p0 数据库:mysql
compile 'com.github.bumptech.glide:glide:4.4.0'annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'