Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Final static Variable
public class FinalVariable {
// in the instance initializer expression, or while declaration itself
// final <type> <variable_name> = <initializer expression>;
static final int finalStaticField = 25;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.