-2

Can we name class using alphanumeric values ?like class Tier1, Tier2 and so on.Is this come under good practice. What is the recommendation around naming class. I know this is very generic question and simple one however there were instance during code review I often came across class names which seems to be usual.

1 Answers1

1

Generally, classes can be named only with alphanumeric characters, meaning a-z, A-Z and 0-9. You should also make the first letter of a class Capital.

devRicher
  • 428
  • 1
  • 7
  • 21