isFinal abstract method

bool isFinal()

Checks whether this class is declared as final.

Final classes cannot be extended by other classes.


Returns

  • true if the class is final
  • false otherwise

Implementation

bool isFinal();