java rectangle q
<p>I'm trying to construct a rectangle within an existing project but have encountered a lot of bugs before I can even establish dimensions. I tried both public and private for the rectangle, but I have had no luck.  Below is my code:</p>

<pre><code>public class dryrun

  /**
  * @param args the command line arguments
  */
  public static void main(String[] args) {
  String myName = "runner";
  System.out.println(myName.toUpperCase()); 
  System.out.println("runner");

  double length;
  length = 17.2;

  public class Rectangle extends Rectangle2D implements Shape, Serializable{
</code></pre>
