Instructions: Answer the following questions one at a time. After answering each question, check your answer (by clicking on the check-mark icon if it is available) before proceeding to the next question.
Getting Ready: Before going any further, you should:
downloads directory/folder). In most browsers/OSs, the
easiest way to do this is by right-clicking/control-clicking on
each of the links above and then selecting skills (under the
src directory/folder).
PhoneCard.java
and PhoneDriver.java into that directory/folder.
PhoneCard.java and PhoneDriver.java.
main() method in the PhoneDriver class,
what kind of objects are end, now, and
start?
main() method in the PhoneDriver class,
what kind of object is card?
PhoneCard class?
.class file that was generated by the
compiler for the PhoneCard class?
Date class?
.class file for the Date class?
Date
class.
Make sure you find the documentation for the Date class that
is in java.util. (There are several Date classes
in the Java library.)
Date object using the default constructor
(i.e., the constructor that has no parameters), what properties
will it have?
PhoneCard class?
PhoneDriver.java to make sure that it has the focus.
PhoneDriver.java that contains the statement
card.startCall("540-568-1671", start); and pull
down to Toggle Breakpoint.
in the activity bar.
What happened?
availableMillis?
button that is below the menu.
button until the next
if statement is highlighted.
availableMillis?
if statement?
button to run to the
end of the application.
PhoneDriver and stop the execution at the
breakpoint.
button.
What happened?
balance?
button.
callNumbers[0]?
button.
callStarts[0]?
.
PhoneDriver.java that
constructs a Date and assigns it to a variable
named start.
button. This will
run the application to the next breakpoint.
button.
Date constructor. If it was unable to do so, why
was it unable to do so?
button to run to the end.
in the left toolbar to hide the
debug view and show the explorer view.
Copyright 2024