Revision

  1. Keywords

  2. Classes and Objects

  3. Code Analysis

  4. Design(UML)


  • list

  • inheritance

  • abstraction

  • polymorphism

Keywords example

1a. key: is the value used to access the address in a heap (false) example: HashMap<Key, Value> exampleHashMap; static override int private, final, int, implement, interface, abstract, this, override

1b. (i). lists: ordered / non-ordered.

exampleArrayList.add(Value)
Song.add(songTitle)
exampleHashMap.put(Key, Value)
songTitle.put(1, "Always with Me")

(ii)

2a.

Code analysis——Exception

OOD

aggregation 💠菱形表示不确定个数,如大约...个 →箭头表示确定个数

image
image
image

Collateral Reading

[!TIP] 📖 Java异常处理

Last updated