Can we use String Buffer to store passwords in place of using char[] array?

291 Views Asked by At

It is preferred to use char[] to store passwords rather than a String in Java. But can we use StringBuffer instead of char[] to store passwords?

0

There are 0 best solutions below