What is the difference between JVM thrown exception and programmatically thrown exception...
the difference is kind of blur...
LIke the IllegalArgumentException(Programmatically), which is thrown when the method receives arg differently formated.But the method is actual receiveing the argument which is sent by the us!!
Similarly, ClassCastException(JVM), when coding we did the casting in a wrong manner.So it should be programmtically thrown..
But StackOverflowError, sound correct i mean as a JVM thrown..
Please dont if i sound stupid ...
Please explain