摘要:
# Storing Data The Collections Framework is the most widely used API of the JDK. > 集合不是数据类型,它是JDK的API,可以用来存储数据等,相当于数据结构。 the Collections Framework is 阅读全文
摘要:
# Exception *Definition*: An *exception* is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's i 阅读全文
摘要:
# Packages Definition: A package is a grouping of related types providing access protection and name space management. Note that types refers to **cla 阅读全文
摘要:
# 注解 注解的作用: - Information for the compiler — Annotations can be used by the compiler to detect errors or suppress warnings. - Compile-time and deploym 阅读全文
摘要:
# Lambda Expression 有了Lambda Expression,就不用再写anonymous classes。 写Lambda,首先要找到它的类型。 There is a restriction on the type of a lambda expression: it has t 阅读全文
摘要:
# 泛型 为什么需要泛型?generics enable types (classes and interfaces) to be parameters when defining classes, interfaces and methods. > 说白了就像Python动态语言的变量,是动态的, 阅读全文
摘要:
# 创建类 定义类Bicycle: ```java public class Bicycle { // the Bicycle class has // three fields public int cadence; public int gear; public int speed; // th 阅读全文