i am a first year student and i dont have a clue whats going on. i keep getting this error:Exception in thread "main" java.lang.NoSuchMethodError: main
this is the code i am using but i dont think its releated to this.
public class reverse
{
public static void main (String [] args)
{
int [] numbers = new int [5];
System.out.println("Enter 5 numbers:");
for(int i=0; i<5; i++)
numbers [i] = Console.readInt();
for(int i=4; i>=0; i--)
System.out.println(numbers[i] + " " );
for(int i=0; i<5; i++)
System.out.println(numbers[i] + " " );
}
}