πŸ“Š JAVA
Q. What will happen if we call the run() method directly instead of calling the start() method?
  • (A) Each thread starts in a separate call stack.
  • (B) Invoking the run() method from main thread, the run() method goes onto the current call stack rather than at the beginning of a new call stack.
  • (C) Both A & B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A & B

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
294
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Nisha Gupta
Publisher
πŸ“ˆ
80%
Success Rate