MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output?class A extends Thread{public void run(){for(int i=0; i |
| A. | 0 |
| B. | ompilation error, class A has no start method |
| C. | 1 |
| D. | ompilation succeed but runtime exception |
| E. | one of these |
| Answer» D. ompilation succeed but runtime exception | |