What happens when you attempt to compile and run the following code?
A. compilation fails due to error in line 2
B. compilation fails due to error in line 5
C. exception is thrown during run time
D. code compiles and executes successfully
What happens when you attempt to compile and run the following code?
A. compilation fails due to error in line 2
B. compilation fails due to error in line 5
C. exception is thrown during run time
D. code compiles and executes successfully