Am I supposed to making a Java class or interface file type?
I have to make a specific class but I am confused with the directions as this part doesn't give you the first steps on how to make it.
Scheduler class This is the user interface class to process the command lines entered on the terminal. An instance of this class can process a single command line or multiple command lines at a time, including the empty lines. You will lose 10 points if it cannot process multiple command lines. When your software starts running, it shall display "Scheduler is running.”. Next, it will continuously read and process the command lines until the “Q” command is entered. If the Q command is entered, display "Scheduler terminated", then the software stops normally. -2 points for each violation. You must define a run() method that includes a while loop to continuously read the command lines until a “Q” command is entered. You will lose 5 points if the run() method is missing. You MUST keep this method under 40 lines for readability, or you will lose 3 points. You can define necessary instance variables and private helper methods to handle each command.In other words, how would I start this. Would it be written as "public class Scheduler" or "public interface Scheduler"?
1 Reply
⌛
This post has been reserved for your question.
Hey @iTeeVee! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.