title: - Syntax error, insert "}" to complete MethodBody
body: <p>I've spent a couple hours just trying to solve this syntax error but it's defeating me in every way. I tried putting closing brackets at the end, in between various blocks but nothing would work. This is for a class assignment, it's pretty much finished but this error is keeping me from actually submitting it. </p>
  
  <pre><code>public class Coffee {
  
      public static void main(String[] args) {
          // Default Constructor 
          public Coffee() {
              this.sugar = 0.0;
              this.milk = 0;
              this.currentlyHot = false;
  
          }  
  
          //Instance Variables        
          private double sugar;
          private int milk;
          private boolean currentlyHot; // hot
          private int size;
  
          // Constructor        
          public Coffee (double id, int dairy, boolean temp) {
              this.sugar = id;
              this.milk = dairy;
              this.currentlyHot = temp;        
          }
  
          // (setter)
          public void setSugar(double id) {
              sugar = id;
          }
          public void setMilk(int dairy) {
              milk = dairy;
          }       
          public void setSize(boolean temp) {
              currentlyHot = temp;
          }
  
          public void setHeat(boolean isHot) {
              this.currentlyHot = isHot;
          }
  
          //(getter)  
          public double getSugar() {
              return this.sugar;
          }
  
          public int getMilk() {
              return this.milk;
          }
  
          public boolean checkcurrentlyHot() {
              return this.currentlyHot;
          }
  
          public int getSize() {
              return this.size;
          }
  
          // Method to display data
          public void display() {
              System.out.println("You have " + sugar + " sugar in your cup");
              System.out.println("You have " + getMilk() + " in your coffee");
              System.out.println("That's a " + getSize() + " ounce cup");
              System.out.println("Is the cup hot? " + checkcurrentlyHot());            
  
  
          }
  
      }
  </code></pre>