Essex Management Interview Question

Scanner Write Java code for palindrome