Gangireddy Danam wrote:in real time environment is there any relationship between validations and exception handling..?
If we are given invalid data, we will often throw an exception. For instance, if "123.456" is passed to Integer.parseInt(), it will throw NumberFormatException.
Also, note that you probably mean "real-world", not "real-time."