Homework 3
|
Modified: |
Overview - The purpose of the homework is to review Chapter 2 concepts and additional practice skills needed throughout the course.
After completing Exercise 2.75 and 2.76.
After completing Exercise 2.77.
Title: Robinson Crusoe, Author: Daniel Defoe, Pages: 232
After completing Exercise 2.78.
public void setRefNumber( String ref )
The body should assign the value of the parameter to the refNumber field.
After completing Exercise 2.79.
Hint: Use a conditional statement that tests the refNumber length to be greater than 0.
"123".length() is 3
refNumber.length() is the number of characters of refNumber
After completing Exercise 2.80.
After completing Exercise 2.81.
After completing Exercise 2.82.
After completing Exercise 2.83.
After completing Exercise 2.84
C201 OnCourse Dropbox - Place the Word document in C201 OnCourse dropbox as HW3.