wood burning stoves 2.0*
The moose likes Cattle Drive and the fly likes Just Java page numbers in Cattle Drive tutorials Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Just Java page numbers in Cattle Drive tutorials" Watch "Just Java page numbers in Cattle Drive tutorials" New topic
Author

Just Java page numbers in Cattle Drive tutorials

margaret gillon
Ranch Hand

Joined: Nov 12, 2008
Posts: 317
    
    5

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
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20489
    ∞

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!


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41079
    
  43
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?


Ping & DNS - my free Android networking tools app
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1357
    
  17
Ulf, that is an excellent idea, and it just went pretty high on my todo list. Thanks

Paul, I think I have it -- not sure which edition/printing, but I'll check that too. No need to scramble over to B&N.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20489
    ∞

Katrina,

That's a lovely gift for my future self. I'll be sure to tell him. He probably will forget to thank you, but I'll thank you!

Thanks!

Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1357
    
  17
alrighty, then

I've tweaked the references in the following files to the best of my ability using the references from my "Just Java 2 (sixth edition)".

array.html
command.html
concat.html
float.html
if.html
int.html
loop.html
method.html
modulo.html
switch.html
variable.html

Holler if you see something weird or off or wrong!

I'll be adding references to Thinking in Java, too... just not tonight!
Katrina
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20489
    ∞

This is future paul,

Thanks Katrina.

(take that past self)
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1357
    
  17
You're welcome, future - uh - current Paul!
margaret gillon
Ranch Hand

Joined: Nov 12, 2008
Posts: 317
    
    5

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.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Sorry I didn't see this earlier, but
http://www.coderanch.com/t/5023/Cattle-Drive/Just-Java-book-nitpick#31236
may be helpful (or may not at this point).


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
margaret gillon
Ranch Hand

Joined: Nov 12, 2008
Posts: 317
    
    5

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: 1357
    
  17
Hi Margaret,

I'll look into these!

Katrina
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
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)
margaret gillon
Ranch Hand

Joined: Nov 12, 2008
Posts: 317
    
    5

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: 1357
    
  17
Marilyn and Margaret -- thank you!

I'll update the pages with this today.
Ed Connery
Ranch Hand

Joined: Mar 11, 2010
Posts: 70
*** 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: 1357
    
  17
Let me see what I can find.
John Godfrey
Greenhorn

Joined: Feb 22, 2010
Posts: 9
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: 1357
    
  17
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
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: 1357
    
  17
Aaah, I see. I thought I had made those adjustments.

I've made the changes here:

http://www.javaranch.com/drive/3/index.jsp

... I mean it, this time!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Just Java page numbers in Cattle Drive tutorials
 
Similar Threads
OOP considered harmful (was: C. Date on UML book)
Books for SCBCD 5
Just found JavaRanch
missing reference in Just Java 2
Passing Scores and TIPS , LONG POST