When we add a subclass stream, do we override its launch method? We know that the Thread class itself implements Runnable, but there is no body for the run method defined in the Runnable class.
This is my photo:
Runnable - the parent class - it has a start method with an empty body.
Thread-child
classA extends Thread-Child of Child,
when we define the run () method in "classA", do we override the run method declared in the Runnable class? Thank you for your time.
source
share