exam questions

Exam 1z0-829 All Questions

View all questions & answers for the 1z0-829 exam

Exam 1z0-829 topic 1 question 2 discussion

Actual exam question from Oracle's 1z0-829
Question #: 2
Topic #: 1
[All 1z0-829 Questions]

Which statement is true?

  • A. IllegalStateException is thrown if a thread in waiting state is moved back to runnable.
  • B. A thread in waiting state consumes CPU cycles.
  • C. After the timed wait expires, the waited thread moves to the terminated state.
  • D. A thread in waiting state must handle InterruptedException.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ASPushkin
3 days, 18 hours ago
Selected Answer: D
A. IllegalStateException is thrown if a thread in waiting state is moved back to runnable. false it moves back to runnable as a result of notify(), notifyAll() or time elapsed or finish the thread (join()) B thread in waiting state consumes CPU cycles. false A thread is inactive when in the blocked or waiting state. When in these states, the thread does not consume any CPU cycles. D. A thread in waiting state must handle InterrupedException. true public void run() In inheritance method must not throw new or checked exception So any checked exception has to be handled inside Object.join Object.wait Thread.sleep all of them throw InterruptedException
upvoted 1 times
...
xplorerpj
9 months, 1 week ago
Selected Answer: D
D is correct
upvoted 1 times
...
minhdev
11 months ago
D is correct
upvoted 1 times
...
Samps
1 year, 1 month ago
D is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago