title: calling boolean method, heads or tails
body: <p>I'm wrote a method to simulate a coin toss, however, I do not know how to call this method in the main. Tips would really be appreciated! 
  (Here is the method, I didn't post the entire code because there are 8 other methods in this code).     </p>
  
  <pre><code> public static boolean headsOrTails()
   {
     boolean coinState;
     if (Math.random() &lt; 0.5) {//heads 50% of the time 
       coinState = true; //heads
     }
     else {    
       coinState = false; //tails
     }
     return coinState;
   }
  </code></pre>