Java Threads Flashcards

1
Q

What are the different ways of creating threads in java?

A

There are two ways to create the threads in java

a) By extending java.lang.Thread class.
b) By implementing java.lang.Runnable interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

More on Threads in Java

A

https://javaconceptoftheday.com/creating-threads-in-java/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly