Question 16
What is isUpperCase();
Ans
It work on single character.
This function return true or false. If user enter character in upper case
returns true otherwise it returns false
Question 17
Give example of isUpperCase();
Ans
Example Character.isUpperCase(A) returns true Character.isUpperCase(s)
Returns false.
Question 18
What is isLowerCase();
Ans
It work on single character.
This function return true or false. If user enter character in lower case
returns true otherwise it returns false
Question 19
Give examples of isLowercase()
Ans
Example Character.isLowerCase(s) returns true Character.isLowerCase(A)
Returns false.
Question 20
What is toUpperCase();
Ans
It convert lowercase into upper
case.
Question 21
Give example of toUpperCase();
Ans
Example Charater.toUpperCase(a) it
returns A
No comments:
Post a Comment