title: "Missing method body, or declare abstract." Jblue
body: <p>Here's my code: (I pulled an old instruction thing to make a "coin flipping" program and I'm trying to re-write it.</p>
  
  <pre><code>//Name: Adam
  //Approximate time to complete: Lel
  //References: scrub
  
  public class CoinFlip {
  
      public static void main(String[] args) {
          //Get a random number
          //Decide the outcome of the coin flip
          //Get a second random number
          //Decide the outcome of a second coin flip
          //Print out which flip had a higher score
          //Print out the maximum of the two flips
      }
  
      public static double random();
  }
  </code></pre>
  
  <p>I keep getting the error "Missing method body, or declare abstract."</p>
  
  <p>Why?</p>
  
  <hr>
  
  <p>I have a question. How do I format the "{"s and stuff? Also, is how I put the "public static double random()" code correct? Or should I put it under the public class? I'm kinda confused on how to organize it and I don't think that looks right. </p>