Typescript Nested Class Python Tutorial Javatpoint Java