Runnable is a _____ .
A.class
B.abstract class
C.interface
D.vaiable
Answers
Answered by
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.
Runnable is a type of class that can be put into a thread describing what the thread is supposed to do.
Answered by
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
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
History,
1 year ago