Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. No. It will result in error saying "Cannot define dimension expressions when an array initializer is provided" | ||||
![]() | ||||
![]() ![]() ![]() | ||||
![]() | ||||
![]() String[] strArray = new String[2]; strArray = new String[5]; | ||||
![]() | ||||
![]() String[] strArray = new String[]; | ||||
![]() String[] strArray = new String[]{"Buggy","Bread"}; | ||||
![]() String[] strArray = new String[2]; strArray.length = 5; | ||||