to my knowledge both are different.....
error handling means the debugging of the pgm....
exception handling means handling the exceptions which are prone to ooccur at run time...
Type: Posts; User: onelastman; Keyword(s):
to my knowledge both are different.....
error handling means the debugging of the pgm....
exception handling means handling the exceptions which are prone to ooccur at run time...
method overriding is a different scenario.this is done when we go for inheritance.
conditions for method overriding:
1>should have same type of arguments in same number.
2>sould exactly match the...
if u want to add two numbers..may be int,float,double.
u can't use same methods for different datatypes...
so what u have to do is write the methods which is accepted to take different arguments....
nice question.....
For every class....for it to be executed it needs some memory in the RAM.
So,as soon as JVM encounters a new class name..it needs the information of the class before an object...