How to Remove the Last Character from a String in Java

How to Remove the Last Character from a String in Java