publicclassThreads2implementsRunnable{publicvoidnun(){System.out.println(”run.”);thrownewRuntimeException(”Problem”);}publicstaticvoidmain(String[]args){Threadt=newThread(newThreads2());t.start();System.out.println(”Endofmethod.”);}}Whichtwocanberesults?()
A. java.lang.RuntimeException:Problem
B. run. java.lang.RuntimeException:Problem
C. Endofmethod. java.lang.RuntimeException:Problem
D. Endofmethod. run.java.lang.RuntimeException:Problem
E. run. java.lang.RuntimeException:ProblemEndofmethod.