How can I use linked list for files ,,
For example :
Class C extends B
Class B extends A
So, if I want to reference to C and when deleted extends from first statement , the inheritance must be stoped and not point to B ...
Can I use linked list for this ? And how can do this ?...I mean that : C→B, B→A
So B is sharing between them and if I delete it
The relation come be C→A.
can I use linked list or recursion for this ?