title: String Usage in java
body: <p>Consider am assigning the URL in the code below to a string, say </p>
  
  <pre><code>String link = "http://www.topix.com/rss/city/ellensburg-wa";
  </code></pre>
  
  <p>How should I use the string in the below code instead of the URL itself.</p>
  
  <p>Note: am a beginner in java</p>
  
  <pre><code> stmt.executeQuery("select url from urls where url='http://www.topix.com/rss/city/ellensburg-wa'");
  
   stmtR.executeUpdate("insert into urls values(21211,'http://www.topix.com/rss/city/ellensburg-wa','source',1,0)"
  </code></pre>