摘要: CHAPTER 6 EXCEPTIONS Any Java type can be declared as the return type, including exception. The key point is to remember that exceptions alter the pro 阅读全文
posted @ 2019-10-30 22:00 小白闯天涯 阅读(285) 评论(0) 推荐(0) 编辑
摘要: CHAPTER 3 CORE JAVA APIs API: Application Programming Interface, can be a group of classes or interface definitions that gives you access to a service 阅读全文
posted @ 2019-10-30 21:59 小白闯天涯 阅读(294) 评论(0) 推荐(0) 编辑
摘要: CHAPTER 4 Methods and Encapsulation 1. Designing Methods public final void nap(int minutes) throws InterruptedException { //body} access modifier: pub 阅读全文
posted @ 2019-10-30 21:59 小白闯天涯 阅读(775) 评论(0) 推荐(0) 编辑
摘要: Chapter 5 Class Design 1. Introduing Class Inheritance Inheritance is the process by which the new child subclass automatically includes public or pro 阅读全文
posted @ 2019-10-30 21:59 小白闯天涯 阅读(505) 评论(0) 推荐(0) 编辑
摘要: CHAPTER 1 Java Building Blocks 1. comment // : single-line comment /* * */ : multi-line comment /** * */ : javadoc comment 2. class Classes have two p 阅读全文
posted @ 2019-10-30 21:58 小白闯天涯 阅读(210) 评论(0) 推荐(0) 编辑
摘要: CHAPTER 2 Operators and Statements 1. Binary Arithmetic Operators Includes addition(+), subtraction(-), multiplication(*), division(/) and modulus(%). 阅读全文
posted @ 2019-10-30 21:58 小白闯天涯 阅读(307) 评论(0) 推荐(0) 编辑