start() method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

start() method

Does the start() method call all the overridden methods in the thread?

25th Nov 2020, 7:09 AM
M. A. M. P. Mallawaarachchi
2 Answers
+ 2
Will need example plz so we can help
25th Nov 2020, 9:32 AM
D_Stark
D_Stark - avatar
0
Mainly calls the run() method ensuring that happens in a thread appart. Take a look at OpenJDK source repository 👇 http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/2bf254421854/src/java.base/share/classes/java/lang/Thread.java Another note... most of internal Thread methods are delegated to native runtime
25th Jan 2021, 5:21 PM
David Ordás
David Ordás - avatar