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

10/1/2016 5:36:09 AM

Nwaburu Emeka Christian

2 Answers

New Answer

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