I want to know " what method of version will be called if some class with the reference of SUPER class sneak in ", is it going to be subclass version or superclass. " assuming subclass version has not marked PUBLIC.What if it's marked PRIVATE.
Thank you ranchers
posted 8 years ago
It would be really good for you to test the code for yourself and find the answer or else I dont really see any positive side in just giving answers.