Java Program to find duplicate Characters in a String
Answers
Answered by
0
Answer:
Explanation:
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class DuplicateCharFinder {
public void findIt(String str) {
Map<Character, Integer> baseMap = new HashMap<Character, Integer>();
char[] charArray = str.toCharArray();
Similar questions