[Java] Range constructor.

Hey guys,

I'm doing an assignment I'm asked this:

The constructor should take a minimum and a maximum floating point value as arguments and return a range object representing the range of values between the minimum and the maximum.

I have no idea what to put in this constructor method!

I'm not even quite sure what it wants me to return.

The declaration is supposed to look like this: public Range(float min, float max){

}

Posted Apr 14, 2013, 12:57 AM UTC

15
Loading comments…