Object-Oriented Design questions and answers
Classes, interfaces, inheritance and design patterns. Page 6 of 6.
Object-Oriented Design practice on Codemia
Turn requirements into classes, and defend the design, on the problems that come up in OOD rounds.
Answers 301-312
- Why don't Java Generics support primitive types?
- Why don't structs support inheritance?
- Why exactly isn't MEF a DI/IoC container?
- Why is 0 a type in Microsoft Intermediate Language MSIL?
- Why is IoC / DI not common in Python?
- Why is my Spring @Autowired field null?
- Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed?
- Why is Thread not an abstract class and start not final?
- Why no ICloneableT?
- Why not inherit from ListT?
- Why seal a class?
- Why shouldn't Java enum literals be able to have generic type parameters?

Course
Intermediate
27 lessons
14 hours
OOD Fundamentals
Master object-oriented design from first principles, SOLID, design patterns, and classic interview problems with hands-on coding.
View the course