Sollicitatievraag bij Tata Consultancy Services

They asked basic Java questions - How many data types are there in Java Why string is immutable What is marker interface Write a program to reverse a string