Code:
public static void main(String[] args) throws
Exception
{
String line;
BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
int EingabeSec = 0;
TimeMachine2 tm2 = new TimeMachine2();
do
{
System.out.println("Sekundeneingabe: ");
line = br.readLine();
EingabeSec = Integer.parseInt(line);
tm2.SetsecondsIN(EingabeSec);
tm2.transform();
System.out.println(tm2.GetHours()+" h, " + tm2.GetMinutes() + " m, "+ tm2.GetSeconds() + " s");
System.out.println("nochmal?");
line = br.readLine();
} while (line == "Ja");
}
was soll da bitteschön falsch sein