+ 6

What is the difference between Constant and Constant Variable??

knowledge

16th May 2017, 2:58 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
3 odpowiedzi
+ 14
A constant cannot be changed after instantiation. And I don't know what a constant variable is. A paradox maybe?
16th May 2017, 8:35 PM
Tashi N
Tashi N - avatar
+ 2
The latter defines the former. A variable that cannot be changed is a Constant. There is no such thing as "Constant variable".
16th May 2017, 9:00 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
0
when declaras one variable this have one value that can change in other moment, but when declared a variable const this have that have a value and this never change
21st Aug 2017, 2:42 AM
Sergio Bravo Moran
Sergio Bravo Moran - avatar