What do you want to save?
Add Code snippet
New code examples
-
Java 2021-10-09 00:25:03
constants in Java
//A constant is a variable whose value won't change after it's been defined. private static final int OUR_CONSTANT = 1; //We make our constants static and final and give them an appropriate type, //whether that's a Java primitive, a class, or an enum. ... Add solution
Best helpers
Ranking is empty