Publicis Sapient Interview Question

Input: abcd@#*& Output: &d*c#b@a in java How do you define the Explicit wait condition?