+ 1

Is it compulsory method name start with small letter & class name capital letter?

2nd Sep 2019, 1:48 PM
LOKESHA E J
LOKESHA E J - avatar
2 Réponses
+ 4
Not really but it makes sense to do it this way because that's how the professionals did it when they wrote the classes, plus when a word begins with a capital you know your referring to a class, and when a word is lower case your referring to either a primitive type,method, variable or keywords
2nd Sep 2019, 1:56 PM
D_Stark
D_Stark - avatar
+ 2
Tnx for clarifying my doubts
2nd Sep 2019, 1:59 PM
LOKESHA E J
LOKESHA E J - avatar