0
Why is this code telling me error
class MyClass { public static void main(string[ ] args) { System.out.println("Hello World"); } }
1 Answer
+ 8
There is no type "string", but there is type "String". The compile error should be self-explanatory.
class MyClass { public static void main(string[ ] args) { System.out.println("Hello World"); } }