129k views
5 votes
Which of the following characters is not allowed for java variable names

1 Answer

3 votes
The variables must begin with a letter of the alphabet, a dollar sign or a underscore. After the first character you may add numbers as well. All special characters besides the dollar sign and underscore and not allowed in variables.
User Johannes Wentu
by
6.2k points