How to fix Java Erorr Message -


i installed java on pc when run java program says error.i tried following code

     public class main     {         public static void main(string[] args)         {             system.out.print("this example...");         }     } 

the code have not have problem @ all.

public class main {     public static void main(string[] args)     {         system.out.print("this example...");     } } 

possible error filename.java, make sure main.java because classname must identical file name.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -