logo

Crowdly

Der folgende Code zeigt eine Main-Methode: public static void main(String[] a...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Der folgende Code zeigt eine Main-Methode:

public static void main(String[] args) throws InterruptedException {

Thread t = new Thread(new MyTask());

t.start();

// TODO

System.out.println("fertig");

}

Welcher Code muss statt // TODO eingefügt werden, damit die Ausgabe erst dann kommt, wenn der Hintergrundthread beendet wurde?

More questions like this

Want instant access to all verified answers on elearning.tgm.ac.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!