own subclass
CAN A CLASS BE IT'S OWN SUBCLASS?
IF YES HOW?PLEASE GIVE ONE EXAMPLE.
THANKS IN ADVANCE.
CAN A CLASS BE IT'S OWN SUBCLASS?
IF YES HOW?PLEASE GIVE ONE EXAMPLE.
THANKS IN ADVANCE.
Of course not. Not only would the compiler not allow it, what use would it be? The class already has all it's own attributes, what would you possibly inherit?
Odd question