How to find duplicate characters in a string in Java | Automation testing interview question

preview_player
Показать описание
Hello

In this tutorial, I will explain you How do you find duplicate characters in a string in Java without using collections

Please do subscribe for more tutorials on selenium automation @SH Study Tech

Please share questions and queries in the comments section.

Follow me on Instagram : shstudytech

Рекомендации по теме
Комментарии
Автор

Hi, i have one doubt there is 'a' is also repeated but it is not gwt in output because the letter 'A'.how to capture that?

rameshrongala
Автор

simplest explanation on YT for this program

raghipandit
Автор

What about the uppercase characters sir?
I am using the str.lowerCase method but its dose not work it

vamsikuna
Автор

Great explanation. But what about Caps letters. Because it didn't take the letter "A" from Automation.

tridibborthakur
Автор

What about else part? (if there is no duplicates)

roopkumar
Автор

How to print the number duplicate characters in a string in Java pls upload the video

Sikindharbabu
Автор

Program will not work if you take String "aabbbccd"

eco
Автор

agar ham do se jada charecter dete hai to ye code galat hai ise improve karo fhir dalo ye video

dheerendra
Автор

Dublicate charecter :t
Dublicate charecter :t
Dublicate charecter :t
Dublicate charecter :i
Dublicate charecter :n
Dublicate charecter :t
Dublicate charecter :t
Dublicate charecter :o
Dublicate charecter :t
Total Repeated charecter 9

dheerendra
visit shbcf.ru