Bournemouth announced forward Joshua King has signed a new four-year contract to stay at the club through 2020.