Question: The Language is Java CSCI1302 Principles of Programming II Due date: 11-14-2017 Objective of the assignment The objective of the project is to test 1.

 The Language is Java CSCI1302 Principles of Programming II Due date:11-14-2017 Objective of the assignment The objective of the project is to

The Language is Java

CSCI1302 Principles of Programming II Due date: 11-14-2017 Objective of the assignment The objective of the project is to test 1. your knowledge of object-oriented programming: define a class and define a test program to test the operations in the class 2. your understanding of the concepts of inheritance, interface and abstract class in Java. 3. your knowledge of using Unified Modeling Language (UML) for modeling software-systems. Topic of assignment The UML diagram for the project: Geometricobject -color: String Geometricobject #GeometricObject (color: String) +getcolor: String +setcolor (color: String): void +tostring): String tgetPerimeter(): double > java.lang.ComparablecCompara ComparableGeometricobject bleGeometricobject> compa re T(o : ComparableGeometricobject): int #comparableGeometricObject() #comparableGeometricObject (color: String) +compareTo (: ComparableGeometricobject) :int ComparableCircle -radi us: double +Comparablecircle) +ComparableCircle(r: double) +ComparableCircle(r: double, color: String) +getRadius): double +setRadius(r:double): void +getPerimeter): double TestProgram main

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!