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
oyl3 Answers
New AnswerYou should've asked this in the lesson but u got it right; you have to override the run method
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message