Virtusa interview question

tech u have to be thorough in java concepts