Hexaware Technologies Interview Question

reverse the string ,ask about table connections and java