This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
You can't have C extends B and B extends C. You can have a class that extends B only, not A or C. Could you be clearer about what you want to do?
Joined: Nov 08, 2009
Sorry that I have not been clear.
If currently I have 3 classes: A, B, C .
C extend B
B extend A
Is is possible to have a new class ,ie: D that only extend B but not A or C ?
Because I know that if this new class extend B then it will extend A . is thers a way that this can be happening. Just curiosity.