0

.java to .class issues

when doing the "hello world" code and compiling to .class this shows up ExampleProgram.java:1: error: error while writing ExampleProgram: ExampleProgram .class (Access is denied) public class ExampleProgram { ^ 1 error

2nd Aug 2016, 3:32 PM
Gabe Black
Gabe Black - avatar
2 Antworten
0
is the name of class same with file name?!! bcs compiler does not accept it...
2nd Aug 2016, 9:54 PM
The Eagle
The Eagle - avatar
0
check the curly braces
2nd Aug 2016, 11:06 PM
karim gomaa
karim gomaa - avatar