Question 1:
![1228_fig.png](https://secure.tutorsglobe.com/CMSImages/1228_fig.png)
Provide the name of the above session or methods A. ________ B. ________ C. _______ D. _______ E. _______ F. _______ G. _______
Question 2: Write the code to complete lines H and I to create objects
Question 3: What is the output at the line J and K?
Question 4: Write the code on line L and M
PART2: Overloaded methods
Write a class named SU2016LAB6_PART2_OverloadedMethod_yourLastName that has three overloaded methods named writeOutput. (You don''t need to run it because it has no main())
- Method named writeOutput that accepts two double numbers then display them
- Method named writeOutput that accepts one String and one double number then display them
- Method named writeOutput that accepts two Strings then display them
Recall: Overloaded methods are methods that have the same name, but different signature.
OBJECTIVES:
-continue to practice to write the code for the data type class
-Learn what is static members in data type class and how to write static methods -Learn how to access static members of data type class from main()
REQUIREMENT STATEMENT
Provide the application that helps users to calculate the area of the following 1st of shapes.
1. Square
2. Rectangle
3 Triangle
4, Circle
5. Trapezoid
6. Rhombus
7. late
& Parallelogram
For each shape, you can ask for all necessary information of the selected shape to calculate its area from the keyboard. The result should be displayed in the following format, for example with selected shape is Rectangle
Shape: RECTANGLE Length = 20.56 Width 5 8.42 Area 173.12
The application should allow users to continue using it until they want to exit