LLD - Design — Chess Game
You are designing a chess game using polymorphism for piece movement. How should you structure your classes to allow easy addition of new piece types without changing existing code?
move() method to define interface.move() logic, enabling extension without modifying base code.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions