Originally posted by Deepthi Kanakam Rajan:
D. Runnable y = new Runnable() { public void run(){ }};
The option D that you have typed here is not same as the option D given in the book. Look carefully in the book. There are no parentheses after "run". Thats a syntax error.
The code given here as option D is correct and would work.