title: How to println a string and variable within the same parameters
body: <p>I am writing some code right now and I haven't done this in a while, how would I use the println function to write both a string and a variable?</p>
  
  <p>I tried the following:</p>
  
  <pre><code>System.out.println("randomtext"var);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>System.out.println("randomtext",var);
  </code></pre>
  
  <p>Neither of those seemed to work, what am I doing wrong? How do I do this?</p>