What is the difference between CharSequence[] and a String[]?

Viewed 34152

What is the difference between CharSequence[] and String[]?

7 Answers

String is the parent class that implements the interface CharSequence.

There are other classes which also implement the CharSequence like StringBuffer, StringBuilder, etc.

Related