TUTORIALS POINT
Parameters:
Here is the detail of parameters:
ch -- Primitive character type
Return Value:
This method Returns true if passed character is really a white space.
Example:
public class Test{public static void main(String args[]){
System.out.println(Character.isWhitespace('c'));
System.out.println(Character.isWhitespace(' '));
System.out.println(Character.isWhitespace('\n'));
System.out.println(Character.isWhitespace('\t'));
}
}This produces the following result:
false
true
true
trueisUpperCase()
Description:
The method determines whether the specified char value is uppercase.
Syntax:
boolean isUpperCase(char ch)Parameters:
Here is the detail of parameters:
ch -- Primitive character type
Return Value:
This method Returns true if passed character is really an uppercase.
Example: