tao.
← All tags

#Java Thread

2 posts

Java 4 min read

Ways to Create Threads in Java

This article explores the ways to create threads in Java based on JDK 11. My answer is that there are only two ways: extending the Thread class and implementing the Runnable interface, as stated in the Oracle official documentation.