Find the error in the following program:
public class FindTheError
{
public static void main(String[] args)
myMethod(0);
}
public static void myMethod(int num)
System.out.print(num + " ");
myMethod(num + 1);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here