0

Java String

why does String starts with uppercase letter and other data types like int, double, Boolean,etc. start with lowercase letter?

17th Jun 2018, 9:55 PM
Vivek Rajpara
Vivek Rajpara - avatar
1 Odpowiedź
+ 2
ints, floats, bytes ect are something called primitive types, their only goal is to store data. String on the other hand is a built-in class hence the methods it has, classes are usually uppercase at the start.
17th Jun 2018, 11:01 PM
TurtleShell
TurtleShell - avatar