What are constants?

Asked 27-Nov-2017
Viewed 454 times

1 Answer


1

Constants!

What are constants?

Constant are equivalent to those variables whose values cannot be changed. Hence, having different keywords in different languages defining constant like “const” is been used in C/C++ and “final” in JAVA.

Well, it is not a primitive variable thus an instance of an actual object.

Cheers!