Write the implementation class circle


Assignment Task:

11_Object-Oriented Programming.jpg

Given the class diagram above, do the following steps:

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

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

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

Problem 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.

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

Our Object-Oriented Programming Assignment Help service is always looking forward to resolve all your academic worries and woes in no time.

Tags: Object-Oriented Programming Assignment Help, Object-Oriented Programming Homework Help, Object-Oriented Programming Coursework, Object-Oriented Programming Solved Assignments 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write the implementation class circle
Reference No:- TGS03052627

Expected delivery within 24 Hours