Introduction
The isspacechar()
method of the Character
class in Java is used to determine whether the given character is a space character or not. It checks if the character belongs to the U+0020 'SPACE', U+0085 'NEXT LINE', U+000D 'CARRIAGE RETURN', U+000A 'LINE FEED', U+0009 'CHARACTER TABULATION' or U+000B 'LINE TABULATION' space character groups.