Envestnet Interview Question

1. reverse a number and display it's sum 2. java final method, inheritance 3. compare two strings character by character, if same then print 'duplicate'