Select from following answers:- It will compile successfully.
- It will show message as nothing.
- It will give compile-time error.

- It will give run-time error.
- All Above
It will not compile as it gives error saying that,
Use of unassigned local variable 'str'.
So we must assign any variable to values once declaring.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator