Introduction - If you have any usage issues, please Google them yourself
Write a program, according to user input for the command line parameters quantity to calculate rectangle, square, triangle area. If the input parameters for the one, two, three, they should corresponding to the square, rectangle, triangle, if no parameters, it is through the exception handling method shows error messages.
Tip: define an abstract of the father, and provide an abstract method area ().
Then three subclasses derived, rewrite area () method, and then in the main method to write test logic.