Problem related to compilation of program


Question: Why won't the following program compile?

class Exception3
{
    public static void main(String[] args)
    {
        if (Integer.parseInt(args[0]) == 0)
            throw new Exception("Invalid Command Line Argument");
    }
}

Correct it so it will compile.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Problem related to compilation of program
Reference No:- TGS0535266

Expected delivery within 24 Hours