0

Class name

should the class name begin with Capital Letter!!

11th Nov 2017, 1:23 PM
I'm_Groot
I'm_Groot - avatar
7 Respuestas
+ 8
It doesn't really matter it's just a good practice to do that.
11th Nov 2017, 2:23 PM
qwerty
qwerty - avatar
+ 6
Class name can be started with any letter (small or capital).
11th Nov 2017, 2:11 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 5
It depends on a certain language's/team's convention. But if you only want to code for yourself and noone else is going to work on your codes, you can use whatever you want. If you are working with others, all of you should use the same rules. Most importantly, whatever you choose, be consistent.
11th Nov 2017, 2:11 PM
OWRhcmFidQ==
+ 4
It should begin with any case you wish
11th Nov 2017, 1:54 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
no. you should start with an alphabetic letter or with _ symbol
11th Nov 2017, 2:42 PM
Asiri H
Asiri H - avatar
+ 1
thank you buddies i was wrong..when i entered class name with small initial letter it didn't get highlighted in blue but it wood when i began it with captial initial letter .Thats why i asked
11th Nov 2017, 2:23 PM
I'm_Groot
I'm_Groot - avatar