java反射 发表于 2016-07-23 更新于 2021-11-14 分类于 java 几个java反射小例子(以String为例)获取类的三种方法1234567//反射机制获取类的三种方式//通过类名获取Class<?> class1 = Class.forName("java.lang.String");//通过类的class属性获取Class<?> class2 = String.class;//通过类对象获取Class<?> class3 = new String().getClass(); 阅读全文 »
Linux CentOS7下 mysql-5.7.1x tar.gz包安装 发表于 2016-07-19 更新于 2021-11-14 分类于 数据库 1、下载tar.gz包官网下载MySQL安装包,Linux-Generic 64位(根据系统选择64or32)也可以用wget命令下载64位下载: 1wget http://120.52.72.21/cdn.mysql.com/c3pr90ntc0td//Downloads/MySQL-5.7/mysql-5.7.13-linux-glibc2.5-x86_64.tar.gz 2、创建mysql用户和组12groupadd mysqluseradd -g mysql mysql 阅读全文 »
Hello World 发表于 2016-07-13 更新于 2021-11-14 分类于 hello Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. 阅读全文 »