/Java_21_Trace_Example_1

A programm demonstrating the multi-tasking in java using the Thread class.

Primary LanguageJava

Java_21_Trace_Example_1

multi-tasking to boost performance

We have two approaches to accomplish it: 1- Using Thread class public class Thread extends Object { … } 2- Using Runnable interface public interface Runnable { public void run();} Runnable is required for multithreading in JFrames