Hello,
I just started learning programming and I'm using java and I'm running into a issue getting the code to work. Here's the code I'm using:
/ /create a class named Magamar
public class Magamar
{
/ /this is the main method
public static void main (String[] args)
{
/ /this prints whatever is below.
System.out.println("Hello World")
}
}
Now I can get this code to build but not run, when I run it I run into this error:
Error: Could not find or load main class magamar.Magamar
Java Result: 1
I don't know what is wrong, can some one point out to me my error?