Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners How to define a constant variable in Java?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
How to define a constant variable in Java?
1 Answer(s)      a year and 5 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,



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com