Q1 |
Begin the name with a lowercase letter. For multiword names, a variable can only be one actual word, so spaces are removed between the words, and then capitalize the first letter of each word. |
Q2 |
Declare the variable as public. |
Q3 |
No, only member variables can be public. |
Q4 |
A variable can only store one type of data, which has to be specified when it's declared. |
3.145.107.100