hi all ich komme mal wieder nicht weiter ;( ich habe ein kleines prog,in dem hab ich folgenden aufruf
Code:
conf_file langa = new conf_file();
String test = langa.get_string();
und dann habe ich noch folgendne code,
Code:
void get_String(){
          String x = "test";
           return x;
}
und nun erhalte ich bei beiden programmen fehler beim kompilieren ;(
nst.java:53: incompatible types
found : void
required: java.lang.String
String testb = langa.get_string();
das die typen unverträglich sind ist mir klar, wie kann ich das problem lösen, das ich strings als rückgabewert habe?

thx cu SHB