Tech Mahindra interview question

Core java and advance java