Task3 - /* / Task3.java Author: Lewis/Loftus / / Solution...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // Task3.java Author: Lewis/Loftus // // Solution to Programming Project 5.5 // //******************************************************************** / public class Task3 implements Priority, Complexity, Comparable { private int priority; private int complexity; String name; //----------------------------------------------------------------- // Sets up the task, assigning the task's name //----------------------------------------------------------------- public Task3(String taskName) { name = taskName; priority = MED_PRIORITY; } //----------------------------------------------------------------- // Returns the task's name //----------------------------------------------------------------- String getName() { return name; } //----------------------------------------------------------------- // Sets the task's priority level //----------------------------------------------------------------- public void setPriority(int value)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Task3 - /* / Task3.java Author: Lewis/Loftus / / Solution...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online