How to print with replacement in java?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4417856/java-output-formatting">Java output formatting</a>  </p>
</blockquote>



<p>Is there a way to print with replacement in Java, as you can do
in c++ where ("Number %d", 5) is for printing "Number 5".</p>

<p>Thanks</p>
