Interview Q&A / Object-Oriented Programming

INTERVIEW Q&A · 69 QUESTIONS

Object-Oriented Programming interview questions

The four pillars, interfaces, abstract classes and design basics.

  1. What is the difference between the Factory Method and Abstract Factory patterns?

    Factory Method lets a subclass decide which single product to create. Abstract Factory creates a whole family of related products that are meant to be used together.

    IntermediateQuick answer1 min read