I\'m New to Java and I am following some instruction, However When I get to the Strings section
public class String {
public static void main(S
If you insist on using String as your class name it should be:
public class String {
public static void main(java.lang.String[] args) {
java.lang.String name;
name = "luke";
System.out.println("Hello, " + name + "pleased to meet you");
}
}
I don't think it's particularly wise to try and re-use the names of classes defined in java.lang
though.