Please solve these errors in this program 😞😞😥😥 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Please solve these errors in this program 😞😞😥😥

https://code.sololearn.com/c2UgNTvCHJz9/?ref=app

19th Jun 2018, 10:58 AM
The Mir-acle
The Mir-acle - avatar
7 Answers
+ 4
It has been solved now So it will be working now
20th Jun 2018, 6:55 PM
The Mir-acle
The Mir-acle - avatar
+ 4
Run the program you will see the errors
19th Jun 2018, 11:17 AM
The Mir-acle
The Mir-acle - avatar
+ 3
Then why are they telling me that expected '. class' after arr[]?
19th Jun 2018, 11:34 AM
The Mir-acle
The Mir-acle - avatar
+ 2
Give input as:- 2 1 2 or 3 1 6 2
20th Jun 2018, 5:17 PM
Sujal Kumar
Sujal Kumar - avatar
+ 1
What are the errors? Plus you don't need to comment where is beginning and end of class, method, loop. Brackets {} do it good enough. Another thing, don't import all from java.utils. Always import only things you need
19th Jun 2018, 11:06 AM
Lstiti
+ 1
There is no such thing as arr[].class
19th Jun 2018, 11:22 AM
Lstiti
+ 1
Debug code
19th Jun 2018, 11:44 AM
Lstiti