New! Hire Essay Assignment Writer Online and Get Flat 20% Discount!!Order Now

COS70006- Object Oriented Programming

  • Subject Code :  

    COS70006

  • Country :  

    Australia

  • University :  

    Swinburne University of Technology

Task:

interface called GeometricObject

To pass this exercise you must:

-Complete all the task questions below and submit a well-structured OO project

Given the class diagram above, do the following steps:

1.Write the interface called GeometricObject, which declares two abstract methods: getParameter() and getArea(), as specified in the class diagram.

2.Write the implementation class Circle, with a protected variable radius, which implements the interface GeometricObject.

3.Write a test program called TestCircle to test the methods defined in Circle.

4.The class ResizableCircle is defined as a subclass of the class Circle, which also implements an interface called Resizable, as shown in class diagram. The interface Resizable declares an abstract method resize(), which modifies the dimension (such as radius) by the given percentage. Write the interface Resizable and the class ResizableCircle.

5.Write a test program called TestResizableCircle to test the methods defined in ResizableCircle.

Get An Awesome Price Quote For Your Paper – Absolutely FREE!
    Add File
    Files Missing!

    Please upload all relevant files for quick & complete assistance.

    Getting started with MyEssayAssignmentHelp is FREE

    15,000+ happy customers and counting!

    Rated 4.7/5 based on
    1491 reviews
    ;