Valid 1Z0-851 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-851 Exam! ExamDiscuss.com now offer the newest 1Z0-851 exam dumps, the ExamDiscuss.com 1Z0-851 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-851 dumps with Test Engine here:
Given: public class Threads4 { public static void main (String[] args) { new Threads4().go(); } public void go() { Runnable r = new Runnable() { public void run() { System.out.print("foo"); } }; Thread t = new Thread(r); t.start(); t.start(); } } What is the result?
Correct Answer: B
Explanation/Reference: Explanation: Exception in thread "main" java.lang.IllegalThreadStateException at java.lang.Thread.start(Unknown Source) at Threads4.go(Threads4.java:14) at Threads4.main(Threads4.java:3) foo