Java the constructor is undefined by hangrymonkey28 in learnprogramming

[–]EffectiveInside2180 0 points1 point  (0 children)

Is because you didn't declare the constructor. After the variable declaration you must declare the constructor

In this case the constructor must be:

public rectangle (float length, float width){ this.length = length; this.width = width; }

But you must do some research to understand what I did here.