title: Create a program that will input a heart symbol and will stop at the exclamation mark symbol (Call from another class with an argument)
body: <p>I showed this to my teacher and he said that I was 99% correct. The only problem is that I did not put an argument in the first class. I'm so confused because I don't think I've learned that part yet : (</p>
  
  <p>Class 1:</p>
  
  <pre><code>import java.util.*;
  public class hearts {
  
  public static void hearts1(String[] args) {
  
  
      char heart = '♥';
  
      for (int i = 0; 1 &lt; 254; i++)
      {
          System.out.print(heart++ + " ");
      }
     }
  
  }
  </code></pre>
  
  <p>Class 2:</p>
  
  <pre><code>public class Caller {
  
  public static void main(String[] args){
  
      hearts.hearts1(args);
  }
  }
  </code></pre>