+ 1
Can I assign value to constant variable after declaration?
8 Antworten
+ 4
No, you can't...
0
No you cannot
0
Constant variable cannot be changed when declared
0
No, you have to assign it a value at the same time you declare it
0
a variable and constant are two different things, a constant cannot be changed after declaration but a variable can
0
The concept of a constant is that it is a value that never changes, like the value of pi. If you have a variable that needs to change during the course of running a program declare it as a var.
- 2
vivo Tito....nice...can I get any of your social media id...wanna contact you
- 2
Perhaps your Whatsapp contact