Bounteous x Accolite interview question

Write a Java program to find permutation of a string.