0

[SOLVED] Why error text, because I run the code

public class HelloWorld { public static void main(String[] args { System.out.println("HelloWorld! "); // Local-Variable Type Inference var s=" HelloJava 10!"; System.out.println(s); } }

29th Mar 2020, 8:26 AM
Linux pro
Linux pro - avatar
4 ответов
+ 3
лего анимации , you are missing the closing bracket ")" after the main method declaration.
29th Mar 2020, 8:39 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 3
лего анимации you forgot to close void main ( closing parenthesis voide main ()
29th Mar 2020, 8:41 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 3
In second line you missed round brac...
30th Mar 2020, 7:38 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Thanks
29th Mar 2020, 8:42 AM
Linux pro
Linux pro - avatar