Typescript Class Implement Interface Golang W3schools Java