i have a confusion regarding throws
cluase in main method's signature .....
we use THROWS in the signature of that method in which we dont want to
catch the exception in the method and let the calling method handle the
exception ... its OK
but why we use THROWS in main like :
public static void main(String[] args) throws anyException
(where anyException is an exception type)
now my confusion starts from here ... as the main () method is called from
the command line ... where is the anyException is going to be handled ........
?