I have the following statement in Java.
public classG<A extends X & Y & Z>
As this question requires knowledge about Java, I have assumed that X, Y & Z are all Java classes. But as far as I know, in Java, one class cannot extend multiple classes. Then what will be the correct assumption about X, Y & Z classes? Are all they Java interfaces?