How to define a constant variable in Java?

Hi,

How to define a constant variable in Java?

thanks

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,









Related Tutorials/Questions & Answers:
Advertisements