hi ya after capitalising Q it will compile
here no reference type is declared so no reference type will be created
the answer will be
P.printS1
Q. prints2
the tricky point here is that ... thought instance variable is of Q
but static method of p will be called if the call is made from that class irrespective of instance variable...
hey other ranchers..is i m rt...?
