J
JonSoftware
Gast
Hallo,
Es wird mir ein Fehler angezeigt, wenn ich this.maths o.ä. einfüge. Ich habe echt keine Idee, wie ich das regeln könnte!
Wenn ihr mir helfen könntet, wäre das sehr nett!
LG
JonSoftware
Java:
private String maths = "Mathe";
private String english = "Englisch";
private String german = "Deutsch";
private String biology = "Biologie";
private String geography = "Erdkunde";
private String physics = "Physik";
private String RE = "Religion";
private String politics = "Politik";
private String sports = "Sport";
private String music = "Musik";
private String art = "Kunst";
public static void allSubjects(){
String[] allSubjects = {this.maths, usw.};
}
Es wird mir ein Fehler angezeigt, wenn ich this.maths o.ä. einfüge. Ich habe echt keine Idee, wie ich das regeln könnte!
Wenn ihr mir helfen könntet, wäre das sehr nett!
LG
JonSoftware