We can use var statement to declare a variable as follows.
We can assign any type of value at the time of declaration like:
We can ignore the var statement at declaration time by assigning value to a variable.
is same as the above given example
Value of x is 12
Value of y is String
New value of x is String type value
New value of y is 343
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.