isFinal abstract method

bool isFinal()

Checks if this field is final.

Returns:

  • true if declared with final modifier
  • false otherwise

Note: Final fields can only be set once (typically during construction).

Implementation

bool isFinal();