Lesson 22 of 34
String चे प्रश्न: Reverse, Palindrome, Count
10 min 30 XP
charAt(i) किंवा toCharArray() ने String वर अक्षरानुसार loop चालवा. Reverse, palindrome आणि vowels मोजणे हे campus interviews चे आवडते प्रश्न आहेत.
Example: edit me and press Run
Output Loading Java (first time takes a few seconds)
Press Run to see the result here.Example: edit me and press Run
Output Loading Java (first time takes a few seconds)
Press Run to see the result here.Character.isDigit(ch), Character.isLetter(ch) आणि Character.isUpperCase(ch) अक्षर कोणत्या प्रकारचे आहे ते सांगतात.