Demandbase Interview Question

how do you extended two classes in java