Skip to content

Instantly share code, notes, and snippets.

@isamotiuc
Created April 26, 2016 14:32
Show Gist options
  • Save isamotiuc/127a63c6995534dfff009f114d2fc420 to your computer and use it in GitHub Desktop.
Save isamotiuc/127a63c6995534dfff009f114d2fc420 to your computer and use it in GitHub Desktop.
Why do we hide data behind getters and setters?
What is the difference between an ArrayList and a LinkedList? When should you use them?
Explain insides of a HashMap
Explain insides of a TreeMap
Abstract class vs interface
Why calling public methods in a constructor is a bad practice?
Overriding vs overloading
Explain exceptions (checked/unchecked)
try-catch-finally - in which order should the exceptions be handled?
What are generics? Why don't just use Object?
When should reflection be used and why you should avoid using it?
When are annotations used?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment