What will happen when he attempts to compile and execute the application .?
A. The application will compile successfully and the values from 0 to 19 will be displayed as the output.
B. A compile-time error will occur indicating that no run() method is def ined for the Thread class.
C. A runtime error will occur indicating that no run() method is defined for the Thread class.
D. The application will compile successfully but will not display anything as the output.
Answer:D
What will happen when he attempts to compile and execute the application .?
A. The application will compile successfully and the values from 0 to 19 will be displayed as the output. B. A compile-time error will occur indicating that no run() method is def ined for the Thread class. C. A runtime error will occur indicating that no run() method is defined for the Thread class. D. The application will compile successfully but will not display anything as the output.