0

Can we name the class with any name?

for example class print{} like this

29th May 2018, 5:26 AM
Janani B
Janani B - avatar
1 Answer
+ 3
You can name your class with any identifier which is not a reserved keyword, as long as the naming rules (doesn't start with a digit, contains no invalid symbols/tokens) are not violated.
29th May 2018, 5:44 AM
Hatsy Rei
Hatsy Rei - avatar