How to Remove Duplicate Characters from String in Java? Example

How to Remove Duplicate Characters from String in Java? Example