Three rules should be followed while naming a class in JAVA.
Answers
Answered by
5
Answer:
The dollar sign and the underscore are discouraged. After the first initial letter, variable names may also contain letters and the digits 0 to 9. No spaces or special characters are allowed. The name can be of any length, but don't get carried away.
Answered by
1
Answer:
I hope it helps you mate stay safe
Attachments:
Similar questions