+ 1

public class MyClass { public static void main(String[ ] args) { try { int a[ ] = new int[2];// wha

explain what is happening there

19th Apr 2017, 1:06 PM
Bakkesh Shivakumar Aladahalli
Bakkesh Shivakumar Aladahalli - avatar
2 Answers
+ 3
well its kind of incomplete... but i see an array being declared of size 2
19th Apr 2017, 1:29 PM
Edward
0
it's an int array it's size = 2. and the code seems to be incomplete
19th Apr 2017, 6:27 PM
Esraa M.Rezk
Esraa M.Rezk - avatar