LLD - Design — Chess Game
Which of the following is the correct way to declare a subclass
King that extends a base Piece class in a typical object-oriented design?King that extends a base Piece class in a typical object-oriented design?extends keyword and calls super() in constructor.class King extends Piece { constructor(position) { super(position); } }.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions