0
looks like java has some cut and dried rules about capitalization... I typed a code using ...main (string []args)... and got an error until I changed it to ...main (String []Args)... pls anyone know d rules guiding character CAPITALIZATION in java... pls post, I'll appreciate.
CAPITALIZATION
2 Respostas
0
its because string is an object or class in java. classes are capitalized. variables/methods follow camelcase conventions.
you can also write it this way:
String isObject = new String("Woah man.");
System.out.println(isObject);
0
thanks