Frage im Vorstellungsgespräch bei Tata Consultancy Services

Palindrome Java program,few SQL questions