随笔分类 -  Java Basic

摘要:第1章-命令行 1.1 命令行基础 ls -a: list all files (including hidden files) .DS_Store: files detailed information in the directory cd: back to home directory ( o 阅读全文

posted @ 2017-07-03 22:24 FudgeBear 阅读(302) 评论(0) 推荐(0)

摘要:第1章--抽象与接口 1.1 抽象 An abstract class can be created without abstract methods, the purpose of doing this is to prevent instantiating the class. A class 阅读全文

posted @ 2017-06-22 20:08 FudgeBear 阅读(505) 评论(0) 推荐(0)

摘要:第1章--使用对象 1.1 字符类型 char c = 65; // char --> int char c = '\u0041'; // \u: unicode + (Hex 41--> Dec 65) char c = 'A'; escape character '\b' --> backspa 阅读全文

posted @ 2017-05-28 21:10 FudgeBear 阅读(433) 评论(0) 推荐(0)

摘要:第1章--用程序来做计算 1.1 第一个Java程序 Mac version: Preference -> General -> Keys -> Search "Content Assist" for binding to the short-key you want. 1.2 用变量做计算 1.3 阅读全文

posted @ 2017-05-21 14:03 FudgeBear 阅读(501) 评论(0) 推荐(0)