Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All submissions should have Javadoc comments NO COMMENT = NO CREDIT! Comments should include annotations for parameters and return types at the least. The code

All submissions should have Javadoc comments NO COMMENT = NO CREDIT! Comments should include annotations for parameters and return types at the least. The code and Javadoc comments should have an outcome corresponding to the documentation in the index.html file in the doc subfolder. Using the Java Naming conventions, create the following(in the to-do list):

This entire software package is the product of shapely figures, whose website is located at www.shapelyfigures.net. This should be reflected in the overall package collection. In addition, the software development team needs the package to contain the following:

TO DO

Given

An interface called cube geom (1)

Class: Parallelepiped a class for parallelepipeds

A class called cube (2)

Class: RectPrism rectangular prism class

Interface: RectPrismGeom geometric API

Class: PrismUser main class using prism objects

The following classes are programmed

(1) The cubes geometry, in the cube geom interface, is extended from the rectangular prism geometry interface that is used by rectangular prisms to calculate their Volumes and Surface Areas. The interface, named cube geom, has one method, get volume, that overrides its parents definition this method is NOT abstract!

(2) The class for cubes has its methods call corresponding methods of the superclass, i.e., its constructor calls its parents constructor; and its sides measurement can be written or read from its parents accessor/mutator methods (any one pair would do, but we should be consistent).

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

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions