我是 Java 新手,我正在遵循一些说明,但是当我进入字符串部分时
public class String {
public static void main(String[] args) {
java.lang.String name;
name = "luke";
System.out.println("Hello, " + name + "pleased to meet you");
}
}
但我明白了
Error: Main method not found in class String, please define the main method as:
public static void main(String[] args)