0
Why no output comes when class name start with a small letter??
5 Réponses
+ 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.
+ 2
who told u that?
+ 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.
0
For example?
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