Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I wanna full and right answer General Guidelines When Writing Programs: - Include the following comments at the top of your soate codes 1 Assignment

I wanna full and right answer
image text in transcribed
General Guidelines When Writing Programs: - Include the following comments at the top of your soate codes 1 Assignment include number) Question (include question part number, if applicable) // Written by: (include your name and student ID) In a comment, give a general explanation of what your program does. As the programming questions get more complex, the explanations will get lengthier - Include comments in your program describing the main steps in your program - Display a welcome message which includes your name - Display clear prompts for users when you are expecting the mer to enter data from the keyboard, and all output should be displayed with dear messages and in an easy to read format - End your program with closing message that the werks that the program has terminated a Problem: Two dimensional shapes In this assignment you are required to write and use some user-defined classes. Here is what is given Create and implement a Shape_twed class and then three geometric two dimensional shapes Circle RightTriangle Rectangle 1. Each class shall have the following functions: double getArea) double getCircumference int getNumberOfAngleso 2. These functions should be derived from Shape_twoD and the getNumberOfAngleso shall be final. Also, we shall no longer have public data members. 3. The design should allow for one shape to be compared to another shape for equality in area, and it should allow for one shape to prints its specifications area. circumference, number of angles. 4. Create 20 Shape twoD objects using array structure 5. Sort all shapes in descending order depending on their areas Required Files Shape_twoDjuva -- The base parent) Circle java -- A subclass (child) of Shape_wol). RightTriangle.java - A subclas (child) of Shape_two Rectangle.java - A subclass (child) of Shape tweD ExamineShape java - Shall contain testing methode

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions