Object Creation
Everything on SkillVeris tagged Object Creation — collected across the glossary, study notes, blog, and cheat sheets.
3 resources across 1 library
Interview Questions(3)
Factory Method vs Abstract Factory
Factory Method defines a single method, usually overridden by subclasses, that creates one product, while Abstract Factory defines an interface with multiple f…
What is the Abstract Factory Pattern?
The Abstract Factory pattern provides an interface for creating families of related objects without specifying their concrete classes, guaranteeing that the ob…
What is an Instance Initializer Block?
An instance initializer block is a plain `{ ... }` block (no `static` keyword) written directly in a Java class body that runs once every time a new object is…