Emil List Emil List - 7 months ago 77
Java Question

Eclipse Java Mars unable to launch?

I am unable to launch following hello world program why?
Heres the code

package FistjavaTing;


public class FistClass {
public void main(){
System.out.print("Hello Word");
}}


I get this error
enter image description here

Answer

try

package FirstjavaTing;

public class FistClass {

   public static void main(){
        System.out.print("Hello Word");
    }
}