Select from following answers:- Vishal
- Pune
- Neeraj
- None of these.
- All Above
It will throw an Error saying that,
Index was outside the bounds of the array.
Once splitting text,an array index will only be 0-3.
0 vishal
1 kumar
2 neeraj
3 pune
If we give str_array[4],then it will throw an error as
Index was outside the bounds of the array.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator