java
LandTract Class:
Make a LandTract class that has two fields: one for the tract’slength and one for the width. The class should have a method thatreturns the tract’s area, as well as an equals method and atoString method. Demonstrate the class in a program that asks theuser to enter the dimensions for two tracts of land. The programshould display the area of each tract of land and indicate whetherthe tracts are of equal size.
Expert Answer
An answer will be send to you shortly. . . . .