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,…
difference between char array and string in java
1 Article
1