|
A final method is a method which cannot be overridden by a subclass.
The nextMove(...) method in the following class is a final method:
class ChessAlgorithm {
...
final void nextMove(ChessPiece pieceMoved, BoardLocation newLocation) {
...
}
...
}
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.