+ 3
Why every class name starting with capital but the class is not starting with capital
For. E.g. Scanner,System,String etc. These are class name and their first positon is start with capital letter else it shows error bit when we create or make program we do not take the class as capital i.e. class its c word is not capital Gaurav Agrawal Sreejith Helga
3 odpowiedzi
+ 20
Harsh Agrawal its just a naming convention for getting clear idea of some name is a class name OR not , just for better and clear representation of program
+ 6
Java has a naming convention that programmers are expected to follow.
https://www.geeksforgeeks.org/java-naming-conventions/
+ 1
class is a keyword that's why it should be in small case