NoSuchMethodError when compiling the source code
<pre><code>class Box {
  double weight;
  double height;
  double depth;

  Box(Box ob){
    weight = ob.weight;
    height = ob.height;
    depth = ob.depth;
  }

  Box(double w, double h, double d){
    weight = w;
    height = h;
    depth = d;
  }

  Box() {
    weight = -1;
    height = -1;
    depth = -1;
  }

  Box(double len){
    weight = height = depth = len;
  }

  double volume(){
    return weight * height * depth; 
  }
}

 public class OverloadConss {
    public static void main(String[] args) {
            Box mybox1 = new Box (15,20,10);
            Box mybox2 =  new Box ();
            Box mycube = new Box(7);
            Box myclone =  new Box (mybox1);
            double vol;
            vol = mybox1.volume();
            System.out.println("The volume of the first box: " + vol);
            vol = mybox2.volume();
            System.out.println("The volume of the second box: " + vol);
            vol = mycube.volume();
            System.out.println("The volume of the mycube: " + vol);
            vol = myclone.volume();
           System.out.println("The clone of the mybox1:" + vol);
    }
}
</code></pre>

<p>When I compile the source code I got the message:  </p>

<blockquote>
  <p>Java/Eclipse/Exception in thread "main" java.lang.NoSuchMethodError: Box.(LBox;)at OverloadConss.main(OverloadConss.java:33)</p>
</blockquote>
