A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Herb, the use of Scanner class
Joined: Oct 06, 2002
Apr 23, 2005 22:53:00
Got a copy of Java A beginner guide:
Question on using Scanner class:
1. Why not mention it with using file and keyboard input? Most intro to
texts 1.5 use Scanner. You do mention in Complete Reference
You cover for/each and enum.
Same can be made for printf. Most new Java 1.5 intro textbooks use this. You only mention briefly here.
So if you have an intro to programming book- Your competion uses it -why don't you.
I teach programming at the college level- I find your books good. But this seems to me to be a glaring omission in teaching Java to beginners.
Your thoughts please.
[ April 23, 2005: Message edited by: James Chegwidden ]
Author and Instructor,
Joined: Oct 01, 2003
Apr 25, 2005 08:59:00
I do not extensively cover
Java: A Beginner's Guide
because of length concerns, and because both are a bit more advanced than I was comfortable putting in a "first book" on Java.
Of course, both
will seem easy to us more experienced programmers, but neither are intuitive for beginnners.
Also, for readers without a background in C/C++,
is difficult to learn. Frankly, I view the addition of
to Java mostly as a means of streamlining the conversion of C/C++ code to Java.
BTW: I cover both
(and much much more)in considerable detail in my book
Java: The Complete Reference, J2SE 5 Edition
For my latest books on Java, including my
Java Programming Cookbook
I agree. Here's the link:
subject: Herb, the use of Scanner class
Exception error? Please help, frustrating
Use of Scanner and Text files
Newbie is missing something... (javax.swing)
How do I read an entire file all at once?
Continious user input
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013