package day1.examples;
public class String2 {
public static void main(String[] args) {
String x = "Andrei Vlad";
System.out.println("Hello" + x);
}
}
我不斷收到這個錯誤,當我運行它新到Java,錯誤已經
Error: Main method not found in class day1.examples.String2, please define the main method as:
public static void main(String[] args)
或JavaFX應用程序類必須擴展javafx.application.Application
和線路錯誤,它說鍵入mysmatch無法從Java郎轉換字符串等。
謝謝
你對Java有多新?如果我們正在說'reeeaaally new',那麼首先使用記事本和命令提示符。您是否可能忘記在再次更改課程後保存課程? – Stultuske 2015-03-03 12:00:54
嗯,我會避免記事本;) – Albert 2015-03-03 12:04:24