0

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

Java

8/13/2019 12:33:39 AM

DjCisse Samuel Tsok

4 Answers

New Answer

+4

You should close the brackets of the main and the class

+3

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

+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.

+1

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