1.

public class Threads2 implements Runnable {_x005F_x000D_ public void run() {_x005F_x000D_ System.out.println("run.");_x005F_x000D_ throw new RuntimeException("Problem");_x005F_x000D_ Which among the following is true?_x005F_x000D_ }_x005F_x000D_ public static void main(String[] args) {_x005F_x000D_ Thread t = new Thread(new Threads2());_x005F_x000D_ t.start();_x005F_x000D_ System.out.println("End of method.");_x005F_x000D_ }_x005F_x000D_ }

A. java.lang.RuntimeException: Problem
B. run. java.lang.RuntimeException: Problem
C. End of method. java.lang.RuntimeException: Problem
D. End of method. run. java.lang.RuntimeException: Problem
Answer» E.


Discussion

No Comment Found