Virtusa interview question

palindrome,swaping 2 numbers and java related concepts