Search questions…
⌘
K
English
Tiếng Việt
日本語
한국어
Español
العربية
বাংলা
čeština
Dansk
Deutsch
Ελληνικά
Suomi
Français
Gaeilge
ગુજરાતી
Hausa
हिन्दी
Hrvatski
Magyar
Bahasa Indonesia
Italiano
Basa Jawa
ქართული
Lietuvių
मराठी
Melayu
Malti
नेपाली
Nederlands
Norsk
ਪੰਜਾਬੀ
Polski
Português
Română
Русский
Slovenščina
Shqip
Svenska
Kiswahili
தமிழ்
తెలుగు
ภาษาไทย
Türkçe
اردو
简体中文
flow
Home
Topics
Categories
Learning paths
Search
Design Interview Questions · IT Interview Practice
Home
/
#Design
#Design
15 questions
What is the difference between an interface and an abstract class?
Object-Oriented Programming
#oop
Middle
›
Why favor composition over inheritance?
Object-Oriented Programming
#design
Middle
›
What are the SOLID principles?
Object-Oriented Programming
#principles
Middle
›
What are coupling and cohesion?
Object-Oriented Programming
#design
Middle
›
What are immutable objects and why use them?
Object-Oriented Programming
#design
Middle
›
What is the difference between is-a and has-a relationships?
Object-Oriented Programming
#inheritance
Middle
›
When should you use getters and setters (and when not)?
Object-Oriented Programming
#principles
Middle
›
What is dependency injection and inversion of control?
Object-Oriented Programming
#design
Middle
›
When should you use a factory method instead of a constructor?
Object-Oriented Programming
#design
Middle
›
Explain the Open/Closed Principle in depth.
Object-Oriented Programming
#principles
Senior
›
How does OOP compare to functional programming?
Object-Oriented Programming
#oop
Senior
›
What are common OOP anti-patterns?
Object-Oriented Programming
#design
Senior
›
What are mixins and traits?
Object-Oriented Programming
#inheritance
Senior
›
What is design by contract?
Object-Oriented Programming
#principles
Senior
›
How do you model a domain into well-designed classes?
Object-Oriented Programming
#design
Senior
›