1. transienthistorical

    Used during serialization. Fields marked transient are not serialized; after deserialization they take their initial values such as null or 0.

  2. finalhistorical

    Usage of final on classes, methods, and variables.

  3. Cloneable and Object.clonehistorical

    1. What the Cloneable interface is. 2. What object cloning is. 3. How to implement object cloning: shallow cloning and deep cloning. 4. References.

  4. 5.2 Integerhistorical

    Usage and implementation analysis of Integer, including immutability, valueOf, IntegerCache, and autoboxing behavior.

  5. 5.3 ArrayListhistorical

    What ArrayList is, how to use it, and source analysis of construction, add, remove, resizing, and fail-fast behavior.

  6. 5.4 Hashtablehistorical

    What Hashtable is, how to use it, and source analysis of construction, synchronized put/get/remove/containsKey, hashing, chaining, and rehashing.

  7. Objecthistorical

    Methods on Object, the equals/hashCode contract, and the difference between wait and sleep.

  8. PriorityQueuehistorical

    1. What PriorityQueue is. 2. Usage. 3. Source analysis: fields, constructors, heapify, insertion, deletion, sift-up, and sift-down. 4. Reference.

  9. 5.7 Serializablehistorical

    Serialization and deserialization in Java, custom readObject/writeObject hooks, implementation flow, serialVersionUID, and serialization algorithm.

  10. 5.8 HashSethistorical

    What HashSet is, how to use it, source analysis, and summary.