CodesJava

Easy learning with example program codes

can we override run method in thread?

run() method

public void run() : It run method is used to perform operations by thread.

Yes, we can override run method in thread but start method will only call Thread class run method.

Please follow and like us:
error








Copyright © 2019 CodesJava DMCA.com Protection Status