Java fundamentals
viaGlassdoor
Walk through core Java fundamentals, as asked in an entry-level/intern technical screen.
Be ready to discuss
- Language basics: primitives vs. objects, autoboxing,
==vs..equals(),Stringimmutability and the string pool. - OOP: classes vs. interfaces, inheritance vs. composition, method overloading vs. overriding, access modifiers.
- Collections:
ArrayListvs.LinkedList,HashMapinternals (hashing, buckets, collisions),HashMapvs.Hashtablevs.ConcurrentHashMap. - Memory and runtime: stack vs. heap, garbage collection basics, the role of the JVM.
- Exceptions: checked vs. unchecked,
try/catch/finally,throwvs.throws.
asked …