In reply to jkpatel:
yes it is invalid.
because child class will not consist of portion of parent class which leads to COMPILE TIME ERROR.
In reply to jkpatel:
yes it is invalid.
because child class will not consist of portion of parent class which leads to COMPILE TIME ERROR.