how 2 inheritance in java