1.

What Does Const Keyword Do?

Answer»

The access MODIFIER keyword “const” tells COMPILER that the value of this VARIABLE is not going to be changed after it is initialized. The compiler will enforce it throughout the LIFETIME of the variable.

The access modifier keyword “const” tells compiler that the value of this variable is not going to be changed after it is initialized. The compiler will enforce it throughout the lifetime of the variable.



Discussion

No Comment Found