Hexaware Technologies Interview Question

Write a java program to reverse the string and third letter will be capital