Skip to content

Instantly share code, notes, and snippets.

@argonlaser
Last active February 7, 2018 13:58
Show Gist options
  • Save argonlaser/d693f941da7954d1fcbb82e1287dd32e to your computer and use it in GitHub Desktop.
Save argonlaser/d693f941da7954d1fcbb82e1287dd32e to your computer and use it in GitHub Desktop.
Must know Java norms
Reflection
Serialization/ deserialisation
Clonable
Multi threaded
Class loading
Garbage collection
String pool/ Intern - caching string literal in string pool and point to same reference
double check locking in singleton
immutable - state of the object never changes [String never gets modified]
OCP(class open to changes and close to modifications)
volatile keyword
Iterator fails fast - ConcurrentModificationException
WeakReference - When object goes out of scope(WeakHashMap)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment