Sunday, 28 October 2018

java - What is more advisable to create a thread by extending a Thread class or implementing Runnable?

I like to know which is more preferable to create a thread by extending thread class or by implementing Runnable interface.And Why ?



Thanks..

No comments:

Post a Comment