0

Which package I need to import for string class so as to use character isLetter Boolean function which run successfully?

For other character inbuilt function don't execute easily and many times error occurs while execution.

30th Dec 2019, 5:21 AM
shubham kumar
shubham kumar - avatar
5 Answers
+ 2
Use java.lang.Character class or try java.lang.* It is not associated with String class.
30th Dec 2019, 5:31 AM
_rk
_rk - avatar
+ 2
You must be doing it wrong, kindly share your code here.
30th Dec 2019, 6:08 AM
Avinesh
Avinesh - avatar
+ 1
String is present in java.lang package which is implicitly imported in all java programs.
30th Dec 2019, 5:26 AM
Avinesh
Avinesh - avatar
0
I tried using same but it won't execute.
30th Dec 2019, 5:28 AM
shubham kumar
shubham kumar - avatar