java constant

Constant is a keyword that is used in C++ to refer a Non-modifiable values. It is mostly used with the arithmetic types such as float's, double's, integer etc. In java also constant will be used to maintain some values with its value can't be changed.

How to declare a constant in Java

on Jun 05, 2022
final double PI = 3.1416; // Declaring a constant representing PI

Add Comment

0

Hopefully above mentioned answers will setisfied your questions. If you have any queries, you can quete your answers or suggestions also.

Javascript answers related to "java constant"

View All Javascript queries

Javascript queries related to "java constant"

Browse Other Code Languages

CodeProZone