multiple inheritance in java | VPS and VPN