Object References
Everything on SkillVeris tagged Object References — collected across the glossary, study notes, blog, and cheat sheets.
4 resources across 1 library
Interview Questions(4)
What is an Inner Class in OOP?
An inner class is a non-static nested class that holds an implicit reference to an instance of its enclosing class, giving it direct access to that instance’s…
Shallow Copy vs Deep Copy
A shallow copy duplicates an object’s top-level fields but keeps any reference-type fields pointing to the same underlying objects as the original, while a dee…
Shallow Copy vs Deep Copy: What Is the Difference?
A shallow copy duplicates only the top-level properties of an object or array, so nested objects are still shared by reference with the original, while a deep…
WeakMap vs WeakSet: What Is the Difference?
A WeakMap stores key-value pairs where the keys must be objects held only weakly, so entries are automatically garbage-collected once nothing else references t…