Why Runnable Interface is used in Java?

By drakula david in 22 Sep 2023 | 11:28 am
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

Why Runnable Interface is used in Java?

22 Sep 2023 | 11:28 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

   - The `Runnable` interface is used in Java to create multi-threaded programs. It defines a single method, `run()`, which is implemented by a class to define the code that should run concurrently in a separate thread.

23 Sep 2023 | 04:27 pm
0 Likes

Report

Please describe about the report short and clearly.