Runnable is_______________?
Correct answer: A. Interface
- A. Interface
- B. Class
- C. Variable
- D. Method
Explanation
Runnable is a Java interface containing the run() method. A class implements it to define work that can be executed by a thread.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Software Design and Architecture
493 free Software Design and Architecture MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Software Design and Architecture questions
JIT meaning ?
Suppose a class has public visibility. In this class we define a protected method. Which of the following statements is correct ?
What is the output for the below code ? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } } ?
The object is created with "new" keyword ?
Which method of java is invoked by JVM to reclaim the inaccessible memory location ?
After the compilation of the java source code, which file is created by the JVM ?