Java Coder
How to define a constant variable in Java?
1 Answer(s)      2 years and 4 months ago
Posted in : Java Beginners

Hi,

How to define a constant variable in Java?

thanks

Advertisement
View Answers

April 10, 2013 at 6:19 PM


HI,

The Constants variables are declared using the final keyword. The values of the constant can't be changed once its declared. For more related to constant variable in java

Thanks,