Why is char[] preferred over String for passwords in Java?
stackoverflow.com