title: Equivalent statments in Java for C# formated string cout
body: <p>What is the Java equivalent instruction for the following statements:</p>
  
  <pre><code>String name;
  cout &lt;&lt; "So your name is  " &lt;&lt; name &lt;&lt; endl;  
  </code></pre>
  
  <p>Or in C#</p>
  
  <pre><code>console.writeline("So your name is {0} ", name);
  </code></pre>