Question: Write a C++ or Java application that creates a linked list of Circle objects/structures (i.e., class must be created). The application can use the IntSLLNode

Write a C++ or Java application that creates a linked list of Circle objects/structures (i.e., class must be created). The application can use the "IntSLLNode" and "IntSLList" classes (pp. 78 - 83) as a guide . The application must provide the following features. Allow insertion of multiple "Circle" objects/structures. The Circle contains a "radius" data member. The Circle also uses functions/methods "setRadius", "getRadius" and calculateArea (returns a double data type). Invoke a method/function "DisplayAllElements" (i.e., must be written, traversal required; refer to "isInList" method, pg. 80) that receives a "reference/pointer" formal parameter. This formal parameter specifies the "head" of the list. The function/method must display all elements "position", "radius" , and "area"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!