Saturday, 19 March 2016
What are different ways of creating thread ?
The thread could be implemented by using
runnable interface
or by
inheriting from the Thread class
.
The former is more advantageous, 'cause
when you are going for multiple inheritance
..the
only interface
can help.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
Note: only a member of this blog may post a comment.