1(xiv)
Identify the static method from the list given below:
- (a)length()
- (b)nextLine()
- (c)substring(int)
- (d)isLetter(char)
Show SolutionHide Solution↓
isLetter(char)
Reason — The method isLetter(char) belongs to the Character class and is a static method, meaning it can be called using the class name without creating an object. The other methods (length(), nextLine(), substring(int)) are instance methods that require an object to be invoked.