Introduction - If you have any usage issues, please Google them yourself
(1) design a program for user input in accordance with the command-line parameters to calculate the number of rectangular, square, triangle area. If you enter the parameters for one, two, three, respectively, they should correspond to a square, rectangle, triangle, if there is no parameter by abnormal way to deal with the reality error message. (The method used to calculate the area is an overloaded method. NOTE: the definition of an abstract parent class, and provide an abstract method area (). Send another give birth to three sub-categories, rewriting area () method, and then in the main polymorphic methods used to achieve a specific area of function calls).
Packet : 15883864java.rar filelist
java\2.doc
java