Description: Design a rectangle class the Rectangular, the method of calculation of the rectangular perimeter and area. Thinking: how to define properties and methods that can better meet the principle of information hiding and encapsulation? For this class, the definition of several constructors appropriate? Write a test class, use the Rectangle class, the length and width of each block of land entered by the user, the program to calculate the area and displayed.
To Search:
File list (Check if you may need any files):
myRect.java