Homework 3
|
Overview - The purpose of the homework is to review Chapter 2 concepts and additional practice skills needed throughout the course.
After completing Exercise 2.64 and 2.65.
After completing Exercise 2.66.
Title: Robinson Crusoe, Author: Daniel Defoe, Pages: 232
After completing Exercise 2.67.
public void setRefNumber( String ref )
The body should assign the value of the parameter to the refNumber field.
After completing Exercise 2.68.
Hint: Use a conditional statement that tests the refNumber length to be greater than 0.
After completing Exercise 2.69.
After completing Exercise 2.70.
After completing Exercise 2.71.
After completing Exercise 2.72.
After completing Exercise 2.73