Java New Object Array Typescript Interview Questions