As is already stated in the comments: this is probably java code.
See this answer which explains the "implements" keyword and also the difference to the "extends" keyword which is corresponding to c++ inheritance. (You tagged your answer with c++ so I assume you know inheritance in c++ and were confused about the keyword.)