I read the tutorials before starting assignments but when I go to the page numbers mentioned in the tutorial they seem incorrect. By any chance are the page numbers from the first edition of the book not the second edition that we are using now (2009) ?
on http://www.javaranch.com/drive/float.html Look on page 93 of Just Java 1.2 for more info on the use of double and float.
which is the chapter on OOP Part II -- Constructors and Visibility
on http://www.javaranch.com/drive/switch.html For more information on switch statements, read page 175 of Just Java 1.2.
which is the chapter on More OOP -- Extending classes
I first wrote this stuff in 1998 ... so more than ten years ago. When I wrote it, I guess I had some heavy expectations on my future self.
DAMN YOU, PAST SELF! I'M NOT YOUR SLAVE!
That said, I haven't even held a copy of that book for many years. So I can't even look up the page numbers. I suppose there is a barnes and noble near by. I could pop over and figure out the page numbers.
But since I am scrambling to slap together a presentation I am giving on saturday, it will have to wait a bit.
That's right - I am dodging the task and volunteering somebody else to do it: my future self! But don't worry, my future self is such a jerk, I don't feel too bad loading him up with work. When he sees this in the calendar, he'll be mad, and I'll just laugh!
Of course, if you all work on this together and come up with the appropriate changes to the HTML and Katrina puts those changes in, then my future self will point at ME and laugh. See what I mean? He's such a jerk!
Maybe it would make sense to point to the explanations in Bruce Eckel's widely acclaimed "Thinking in Java" instead, the 3rd edition of which is available for free?
My thanks to my current nitpicker for helping the future trail boss take care of the unfinished business left by the past trail boss. It will be very helpful to future cattle being driven by nitpickers in the eons to come.
More corrections need, I think. On the page for the OOP assignments the top reads:
JavaRanch Cattle Drive - Classes and Objects
Read chapters 2, 3, 6 and the last half of chapter 7 in the book Just Java 1.2.
There are no names for the chapters so I cannot cross reference to the older book. Can the chapter numbers be fixed so I know what the chapters are to be read at this point?
Thanks.
Katrina Owen
Sheriff
Joined: Nov 03, 2006
Posts: 1334
11
posted
0
Hi Margaret,
I'll look into these!
Katrina
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
10
posted
0
Chapter 2: The Store of O: Object-Oriented Programming (Abstraction, Encapsulation, Comparing Primitive Types to Class Types, Constructors, Static, Access Modifiers)
Chapter 3: Explanation of "a Sample Program" (the Class "Object")
Chapter 6: More OOP - Extending Classses (Inheritance, Polymorphism)
Chapter 7: Java Statements (Exceptions)
Thanks for the titles. I am listing what I think are the equivalent chapters from Just Java 2, 6th edition.
Chapter 2: The Store of O: Object-Oriented Programming (Abstraction, Encapsulation, Comparing Primitive Types to Class Types, Constructors, Static, Access Modifiers)
JJ2-6.
Chapter 2: Introducing Objects.
Chapter 3: Primitive Types, Wrappers, and Boxing
Chapter 5: OOP Part II -- Constructors and Visibility
Chapter 3: Explanation of "a Sample Program" (the Class "Object")
JJ2-6. Chapter 3: Primitive Types, Wrappers, and Boxing. Page 32, Digital Clock Program
Chapter 6: More OOP - Extending Classses (Inheritance, Polymorphism)
JJ2-6.
Chapter 8: More OOP -- Extending Classes.
Chapter 7: Java Statements (Exceptions)
JJ2-6. Chapter 10: Exceptions.
Katrina Owen
Sheriff
Joined: Nov 03, 2006
Posts: 1334
11
posted
0
Marilyn and Margaret -- thank you!
I'll update the pages with this today.
Ed Connery
Ranch Hand
Joined: Mar 11, 2010
Posts: 70
posted
0
*** Very Large BUMP ***
I'm getting ready for OOP-1 and was busily reading, and very gradually it penetrated my brain that what I was reading had little to do with the topics mentioned. A quick search found this thread and the answer to my problem, a revised list of chapter references for "JavaRanch Cattle Drive - Classes and Objects." Much as I hate to trouble nitpickers...
Katrina Owen
Sheriff
Joined: Nov 03, 2006
Posts: 1334
11
posted
0
Let me see what I can find.
John Godfrey
Greenhorn
Joined: Feb 22, 2010
Posts: 9
posted
0
I just had a very similar experience to Ed - preparing to tackle OOP-1, I was quite a way through Chapter 3 of Just Java 2 6th edition before I realised simultaneously that:
a) I'd already read it as instructed on the initial "Preparation" page
b) It probably wasn't what I should be reading
I found this thread, so I've got a good idea what I should be reading, but could I suggest updating http://www.javaranch.com/drive/3/index.jsp to maybe include the chapter numbers for the 6th edition?
Katrina Owen
Sheriff
Joined: Nov 03, 2006
Posts: 1334
11
posted
0
My Just Java 2 book disappeared in a move :|
How about this: if you tell me the page numbers, I'll update the instructions?
John Godfrey
Greenhorn
Joined: Feb 22, 2010
Posts: 9
posted
0
It's not the page numbers so much as the chapter numbers - it seems that the chapter numbers suggested before starting the Cattle Drive (1, 3, then 4, 7 and the first half of 9) correspond to the 6th edition, but the chapter numbers to be read before OOP don't (it currently says 2, 3, 6 and the last half of 7). I'm still reading through the alternatives suggested by Margaret earlier in the thread, but they seem to make sense. Maybe someone more familiar with the OOP section could confirm?
FWIW, every reference to a page number I've come across so far has had an accurate 6th edition version as well, so no worries there. :-)
Katrina Owen
Sheriff
Joined: Nov 03, 2006
Posts: 1334
11
posted
0
Aaah, I see. I thought I had made those adjustments.