A char[] is an arrayof primitive numbers of type char. All it provides is a length attribute, and a way to get and set a charat a given index. A Stringis an object, of type java.lang.String,…
Safely using String for passwords by using reflection to scrub contents prior to garbage collection
1 Article
1