Computer Science, asked by preetdullat599, 1 year ago

Runnable is a _____ .
A.class
B.abstract class
C.interface
D.vaiable

Answers

Answered by harjotsinghbhinder13
0
option a is correct
Runnable is a type of class that can be put into a thread describing what the thread is supposed to do.
Answered by anutwins2626
1

Answer:

interface

runnable  is an interface that is to be implemented by a class whose instances are intended to be executed by a thread. There are two ways to start a new Thread – Subclass Thread and implement Runnable. There is no need of subclassing Thread when a task can be done by overriding only run() method of runnable

Similar questions