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


8/13/2019 12:33:39 AM

DjCisse Samuel Tsok

4 Answers

New Answer


You should close the brackets of the main and the class


You might want to show your code in the thread description instead of the thread title.


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.


correction: public class printx{ public statis void main(String[] arhs){ int[] array=new int[10]; } }