title: Printing asterisks using for loops in java
body: <p>In python, to print </p>
  
  <pre><code>******
   *****
    ****
     ***
      **
       *
  
       *
      **
     ***
    ****
   *****
  ******
  </code></pre>
  
  <p>We would code the following:</p>
  
  <pre><code>for e in range (11,0,-1):
      print((11-e) * ' ' + e * '*')
  
  print ('')
  for g in range (11,0,-1):
      print(g * ' ' + (11-g) * '*')
  </code></pre>
  
  <p>My question is, can this be done in Java as well?
  Java doesn't let you multiply a string (int) times, e.g. <code>4 * " "</code>, so how can we implement this in java?</p>