java extend 2 classes