Personal Finance interview question

differences between java and kotlin