0
I found some error in this but I can't understand what?
2 Respuestas
+ 1
Avinash Dhaka
I have not seen this syntax with method in Java.
[
]
Where did you get this?
0
It's a trivial typo error; just replace square braces with curly braces in lines 6 and 12 and the code will work fine.