Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of these classes does Thread extend?

  • A.Object
  • B.Runnable
  • C.ThreadGroup
  • D.Process

Answer: A

Thread extends Object like any class with no other superclass, and separately implements the Runnable interface. ThreadGroup is a container Thread refers to rather than a parent class, and Process is unrelated, describing an operating system process.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.