摘要:
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 阅读全文
摘要:
Chapter 5 Class Design 1. Introduing Class Inheritance Inheritance is the process by which the new child subclass automatically includes public or pro 阅读全文
摘要:
CHAPTER 4 Methods and Encapsulation 1. Designing Methods public final void nap(int minutes) throws InterruptedException { //body} access modifier: pub 阅读全文
摘要:
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 阅读全文
摘要:
CHAPTER 1 Java Building Blocks 1. comment // : single-line comment /* * */ : multi-line comment /** * */ : javadoc comment 2. class Classes have two p 阅读全文
摘要:
CHAPTER 2 Operators and Statements 1. Binary Arithmetic Operators Includes addition(+), subtraction(-), multiplication(*), division(/) and modulus(%). 阅读全文