title: to find repetative character in string
body: <p>How can I find distinct repetitive character in string using Java.</p>
  
  <p>For the string <code>4567895443577</code></p>
  
  <p>Here, the first distinct repetitive character is <code>5</code></p>
  
  <pre><code>Ip:n:1 output:4
     n=2     op=5
     n=3     op=7
     n=4     op=doest exist
  </code></pre>