Java compareTo () method is a part of Character class. This method is used to compare the two Character objects numerically and returns the following values.
確定! 回上一頁