Q. Which method does the `Runnable` functional interface define?

  • (A) run()
  • (B) execute()
  • (C) apply()
  • (D) start()
πŸ’¬ Discuss
βœ… Correct Answer: (A) run()
Explanation: The `Runnable` interface defines a single abstract method `run()`.
Explanation by: Mr. Dubey
The `Runnable` interface defines a single abstract method `run()`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
62
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate