+ 2
What is the problem?
4 Réponses
+ 3
Main method order is :
public static void main(String s[]) {
You wrote main void(String s[]) so here void becomes method name, main invalid. Return type should comes first.
+ 2
You need to swap main with void. void comes first in a function declaration.
+ 1
🙏
+ 1
🙏