Monday November 21, 2016, 14:00-15:20 Lab 01 Version D
Instructions
There is one programming question and a set of short answer questions.
Instructions for submitting your programming question solution
are given in the Programming question section. You may submit
as many times as you want; your most recent submission will
be the one recorded.
Instructions for submitting your answers to the short answer questions
are given in the Short Answer Questions section. You may submit
as many times as you want; your most recent submission will
be the one recorded.
Programming question
Implement this API.
A jar file containing some required resources can be found
here.
A skeleton can be found here here.
The skeleton does not compile, the constructors are not implemented and the
methods do not return the correct values; you should complete the
constructors and methods to satisfy their APIs.
The provided code does not provide you with any fields; you need to decide
which fields the class requires.
Put the class in the eecs2030.test4 package.
Do not add any additional public features to the class.
Submit your program using the following command
in a terminal (make sure you are in the directory containing your file
SmartPhone2.java):
submit 2030 test4D SmartPhone2.java
Short Answer Questions
Enter your answers into a text file named answers.txt.
You can use the editor of your choice for this. You can also create a
text file in Eclipse by selecting "New" and then "Untitled Text File" in
the "File" menu. Make sure that you save your file.
Also make sure that you indicate which question you are answering,
e.g. Q1: answer to question 1 Q2: answer to question 2 Q3:...
Submit your answers using the following command
in a terminal (make sure you are in the directory containing your file
answers.txt):