Error is the real something happen from exception. Exception is the way to catch the error. For example when you get the variable let say String str, we got Null Pointer. The error is because our variable has NULL value and it catch with Exception: "Null Pointer Exception".
0 Comment(s)