

MCQOPTIONS
Saved Bookmarks
1. |
What would be the output of the following snippet, if attempted to compile and run this code with command line argument “java abc Rakesh Sharma”? |
A. | Compile time error |
B. | Compilation but runtime error |
C. | Compilation and output Rakesh :-Please pay Rs.2000 |
D. | Compilation and output Sharma :-Please pay Rs.2000 |
Answer» B. Compilation but runtime error | |