The polyarea constructor accepts an object and float parameter. Since "this" is
passed as a parameter instead of an actual class object, it shows polyarea
constructor should have been called within some class member methods(non static)
and the constructor accepts that class object as a parameter.