0

Why no output comes when class name start with a small letter??

22nd Dec 2016, 5:22 AM
Sudheer
Sudheer - avatar
5 ответов
+ 3
You will get output when class name with start small letter also. It will not cause any compile / runtime issue, yet it will confuse people, as it violates the Java naming conventions. It will not cause any technical problems, as uppercase class names are purely a convention (and not one used to carry technical meaning). However, it will irritate developers who have to work with these classes.
22nd Dec 2016, 5:34 AM
Piyush Gupta
Piyush Gupta - avatar
+ 2
who told u that?
22nd Dec 2016, 6:52 PM
Kibrom
Kibrom - avatar
+ 1
Kibrom, It is mention in java Documentation you can visit http://www.oracle.com/technetwork/java/codeconvtoc-136057.html You can also live demo here https://code.sololearn.com/cN534kzN616A/#java It is working fine.
23rd Dec 2016, 3:47 AM
Piyush Gupta
Piyush Gupta - avatar
0
For example?
22nd Dec 2016, 5:27 AM
Dago VF
Dago VF - avatar
0
Because in Java class must have start with capital latter.... either that class are pre-defined or you define it. In short term it's a rule of Java
10th Jul 2017, 11:48 AM
lzy gyz
lzy gyz - avatar