Threads help | Sololearn: Learn to code for FREE!

+1

Threads help

did i understand correctly? when a class(class Animal) extends threads.it inherits all the properties from thread class that is already stored in java program. when you create an object from the main method and use it to call the start method,a thread is created and it will override the run method.the run method is executed

11/5/2017 3:14:50 PM

oyl

3 Answers

New Answer

+8

is ur question answered now?

+7

You should've asked this in the lesson but u got it right; you have to override the run method

+1

there are hundreds of comments there.it is slower to get a reply