title: Constructing Rectangle
body: <p>I am constructing a <code>Rectangle</code> class. I tried many times and watched numerous tutorials, but my program is not working. This is my code so far:</p>
  
  <pre><code>public class Rectangle {
  
      public static void main(String[] args) {
  
          Rectangle box = new Rectangle(5,10,20,30){
              System.out.println(new Rectangle());}
  }
  </code></pre>