2016年9月23日

摘要: public class SimpleTest { @Test public void test(){ //方法一 System.out.println(Integer.toBinaryString(50)); //方法二 StringBuilder sb = new StringBuilder(); ... 阅读全文
posted @ 2016-09-23 19:02 闲杂人等 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 使用windows的DOS窗口编译java代码的时候有时候出现这种错误,这是由于我们没有指定编码类型,jdk采用了系统默认的编码类型,如何查看系统默认的编码类型呢? 在DOS窗口中输入:chcp 代码页是字符集编码的别名,最早的操作系统都是使用命令行界面,操作系统直接使用BIOS供应的VGA功能来显 阅读全文
posted @ 2016-09-23 17:38 闲杂人等 阅读(797) 评论(0) 推荐(0) 编辑

导航