Constants
A constant is similar to a variable except that they keep the same value throughout their existence
They are specified using the reserved word final in the declaration
For example:
final double PI = 3.14159;
final int STUDENTS = 25;
Previous slide
Next slide
Back to first slide
View graphic version