Java Program Using Interfaces In Typescript W3schools