title: Warning message "uses or overrides a deprecated API" encountered during code compilation
body: <p>I compiled my program and I got the following error. How should I resolve it?</p>
  
  <pre><code>Note: ClientThreadClients.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  </code></pre>