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

后端 未结 7 1401
野的像风
野的像风 2020-12-24 10:32

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

7条回答
  •  天命终不由人
    2020-12-24 10:57

    CharSequence represents an ordered set of characters, and defines methods for examining this character set. It is ineterface, and one implementation of this interface is String class.

    Please refer to Java API documentation for further info. Also, this tutorial might help you: http://download.oracle.com/javase/tutorial/

提交回复
热议问题