0
Strings or strings?
If I am not mistaken Java is a case sensitive language. But in c++, I've seen string being declared using small 's'. In all the beginner java examples shown here, in starting modules, the strings start with a capital s. This is same with System.out.print() Is this just a typing error in the app or am I going somewhere wrong?
3 ответов
+ 4
The 's' needs to be in caps.
String.
In java, all (or most) Objects (as per convention) use CapsCase
0
Hey! Thanks.
0
actually, entire java, String is a class. import from java.lang package. so that's why String started with capital letter.
String type array, String class, StringBuffer class and more... more information, visit java by ratan String manipulation on YouTube. thank you.