Gunjan Kumar
SCJP 1.5
If a method is overridden but you use a polymorphic (supertype) reference to refer to the subtype object with the overriding method, the compiler assumes you�re calling the supertype version of the method.
Originally posted by Mithun Mohandas:
Why does the compiler assume that the supertype version is called? How is it significant?
debasmita
debasmita
Originally posted by Mithun Mohandas:
This whole exception handling process we perform is merely for the compiler's satisfaction.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |