java
我有颗小粒的痣
stay hungry stay foolish
展开
-
String和char
String & char String to char String.toCharArray();//return char[] String.charAt(index);//return char char to String String s = String.valueOf('c'); String s = String.valueOf(new char[] = {'c','h','i','n','a'});原创 2020-06-09 23:47:20 · 158 阅读 · 0 评论 -
适配器和装饰器
String to char String.toCharArray();//return char[] String.charAt(index);//return char char to String String s = String.valueOf('c'); String s = String.valueOf(new char[] = {'c','h','i','n','a'});原创 2018-11-24 21:35:33 · 476 阅读 · 0 评论 -
JDBC
ClassNorFoundException:com.mysql.jdbc.Driver 从官网下载connector/J,解压或者安装,构建路径 Access denied for user ‘’@‘localhost’ (using password: NO) url路径错误。 附上2018-11-29的代码 import java.sql.*; public class Demo { ...原创 2019-01-01 19:51:55 · 120 阅读 · 0 评论 -
linux部署web App
服务器 阿里云服务器 Apache tomcat 只能在官网下载tar.gz文件 详见:https://blog.csdn.net/jenyzhang/article/details/70159769 注意事项:openJDK的安装目录:/usr/lib/jvm/java-8-openjdk-amd64 根据原创 2019-01-29 22:23:04 · 645 阅读 · 0 评论