Calculating area of Rectangle using Class and Object

class Rectangle{
int length;
int width;

void assignValue(int l, int w){
length =l;
width = w;
}

void calculateArea(){
System.out.println("Area of Rectangle is = "+length*width);
}
}

public class TestRectangle{
public static void main(String args[]){
Rectangle r1 = new Rectangle();
Rectangle r2 = new Rectangle();
Rectangle r3 = new Rectangle();

r1.assignValue(2,5);
r2.assignValue(14,15);
r3.assignValue(24,25);

r1.calculateArea();
r2.calculateArea();
r3.calculateArea();
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...