multiple inheritance using interface in java | VPS and VPN