Thread t = new Thread(new Loader()); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Thread t = new Thread(new Loader());

Can anyone explain this line from java runnable interface concept

28th Sep 2019, 9:00 PM
madhumathi
1 Answer
0
I know , where you saw this question but in that Loader class public void Loader(){ System.out.println("world"); } is NOT a constructor !!!
10th Apr 2020, 11:51 AM
Arjun Singh
Arjun Singh - avatar