First time running a sample program [closed]

1

Good afternoon

I'm new to java I'm trying to run my first program in java when compiling this example I get a window with two options I have given to both and in both throws me an error, attach images for further explanation. Could you help me with this case, please

    
asked by jcamperos 14.04.2017 в 19:30
source

1 answer

1

The access modifier must be public no Public , I suggest you check the documentation

link

    
answered by 14.04.2017 в 19:33