+ 1
How to create constant variable in Java?
Why no const keywords in java? And how can I create a constant variable in java?
2 Respostas
+ 2
Why not just final and must add static modifier
0
using static final
public static final double PI = 3.14;
Why no const keywords in java? And how can I create a constant variable in java?