Compare the area of two rectangles
It is always a best practice to use constructor only for initializing default values. Whatever logic or the function which you want to use is good to call directly from main method or separate method.