Greg Thomas

Greenhorn
+ Follow
since Jan 09, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Greg Thomas

P. 247.

Java has built-in methods for copying the data from one array to another. These methods copy the data and create two independent arrays upon completion.



(my emphasis) I think the phrase "create two independent arrays upon completion" is at best misleading. Yes, you do get two independent arrays, but the arraycopy method you're referring to doesn't create them; they have to already created.

Greg
P. 205, "The super keyword" has the following text;

If a user-defined method does not use super, the compiler will automatically make a call with super to the parent class’s constructor with no parameters.



I think that should be (my emphasis)

If a user-defined constructor does not use super, the compiler will automatically make a call with super to the parent class’s constructor with no parameters.



Greg
P. 205, last line above "The super keyword" has the following:



As monthlyPayment is a method, that should read:

P. 107. Section entitled "Methods of the String class"

This section begins with the sentence ...

"Several methods of the String class are commonly used ... ensureIgnoreCase()."

I think that last method is probably equalsIgnoreCase().