Question: Write a method to determine if all the letters in a String are the same letter. public boolean allSameLetter(String str)
Write a method to determine if all the letters in a String are the same letter.
public boolean allSameLetter(String str)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
