0

What did i get wrong? public class printx { public static void main(String[] args) { int [] array = new int [10];

Java

13th Aug 2019, 12:33 AM
DjCisse Samuel Tsok
DjCisse Samuel Tsok - avatar
4 odpowiedzi
+ 4
You should close the brackets of the main and the class
13th Aug 2019, 12:39 AM
Potato Squad
Potato Squad - avatar
+ 3
You might want to show your code in the thread description instead of the thread title.
13th Aug 2019, 1:50 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
Yes, without the full code, no one knows if the fact that your code is incomplete is the actual error or whether there is any other error.
13th Aug 2019, 3:02 AM
Sonic
Sonic - avatar
+ 2
correction: public class printx{ public statis void main(String[] arhs){ int[] array=new int[10]; } }
13th Aug 2019, 8:21 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar