While i was working on my assignment on Java, I created 3 classes, lets say class 1, class2 and class3
Then I tried to define one of the classes in the following way:
public class class1 extends class2 extends class3{
To be honest, I was almost sure it would not work and in fact did not.
So I wanted to know If I could create a single subclass for two different super classes. Thank You!