+ 1
Can anyone please help me with this question am having my java university exam tomorrow 😫
Identify error in the following of code . class A { int a = 40; public static void main (String []args ) { System.out.print (a); } }
4 Answers
+ 5
Press 'run'. The compiler will tell you where and why:
https://code.sololearn.com/cZ2aUmTfxlEK/?ref=app
+ 2
Thank you devanille
+ 1
How Manav Roy
0
I think the error it's on the line number 01 ...the class name should start with capital letter