Virtusa interview question

1.Java OOPS CONCEPTS 2.CODE ON DUPILCATE STRING