Why is char[] preferred over String for passwords? Why is char[] preferred over String for passwords? java java