DraftKings Interview Question

What is Object-Oriented Programming and when would you use it?

Interview Answer

Anonymous

Nov 21, 2019

Object-oriented programming is an approach to designing software systems that seeks to map real-world concepts and interactions to structures in code. Object-oriented design uses concepts such as modularity and inheritance to build software that is testable and changeable. You would use object-oriented programming when you have to represent a system that deals with multiple moving and changing parts that need to store their own state and interact with each other.