Computer Science, asked by studylove75, 9 months ago

Java Program to find duplicate Characters in a String​

Answers

Answered by RAAZ34
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