how to find duplicate characters in a string in java without using collection

visit shbcf.ru