+ 1

Where are the array brackets

array brackets

9th Feb 2018, 1:29 AM
Amie Jensen
Amie Jensen - avatar
3 Answers
+ 11
1)String str []=new String[2]; str [0]="Amie"; str [1]="Jensen"; 2)String str []={"Amie","Jensen"};
9th Feb 2018, 3:07 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
in reference to [what]
9th Feb 2018, 1:40 AM
Tim Millar
Tim Millar - avatar
0
sorry I should have been more clear, I know when I write the main method they go after String [ ] but on my phone I cannot find those specific brackets they have the curly braces and regular parentheses but not the array brackets am I not looking in the right place?
10th Feb 2018, 6:14 PM
Amie Jensen
Amie Jensen - avatar