X857: King subclass

You are writing a declaration for a new class called King that represents a chess piece, and it has already been started for you below. Assuming that the class ChessPiece is already defined, change the class declaration to indicate that King is a subclass of ChessPiece (do not add anything inside the braces, which should remain blank for this question).

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.