so Constans? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

so Constans?

so the use of const is to Protect or prevent changing the value that is givn to the variable?

28th Jun 2016, 2:48 PM
Andrew Annedrew Alcalde
Andrew Annedrew Alcalde - avatar
5 Réponses
+ 5
Constant variable means that the value of the variable cannot be changed at all
28th Jun 2016, 3:53 PM
or cohen
or cohen - avatar
+ 1
that's what i said.
28th Jun 2016, 4:02 PM
Andrew Annedrew Alcalde
Andrew Annedrew Alcalde - avatar
+ 1
yes, and it's what you said ' cause you were right :v you should give that guy an upvote btw
29th Jun 2016, 2:23 AM
tumor12
+ 1
constant values are permanent values that can not be changed
29th Jun 2016, 3:44 AM
Kandula Santosh Kumar
Kandula Santosh Kumar - avatar
+ 1
Yes u r right....constant does not allow to change that particular value
14th Jul 2016, 7:01 PM
Akash
Akash - avatar