Hi,
I have a piece of code
the answer is false and true,I understand but when a call is made
olrRef.testIfon(tlref);,this matches both method at //1 and //2
as reference tlref which denotes the object of class TubeLight,can also
be assigned to a reference of its superclass Light.How does the
Resolution took place plz guide me to understand the concept behind
that.