hi,i just started learning java this last week,the book i'm using is teach yourself java in 21 days,and it was written for java 1.0,now that java is upto 1.4 is there anything big i should know thats changed,or better yet some type of list of the changes that have been made,like in the book it only states .bmp images can be imported now but i've seen that other image types are now useable.thanks for any help.
That book wasn't worth the paper it was printed on when it was current; now that it's nearly ten years old, it's even worse than worthless. Java has changed a great deal, and people have learned a lot about how to use it and how to write about it. You will suffer greatly if you fill your head with that garbage.
My advice: throw the book away, the sooner, the better. Go out and get a new one. Our Bunkhouse contains detailed reviews of many excellent beginner's Java books -- just pick one and dive in!
Now, if you can't afford a new book, then why not use free online ones instead? Bruce Eckel's "Thinking in Java" is available online for no cost; and there are many excellent free Java tutorials out there as well, especially the one at Sun's own Java site.
yeah,i kind of knew going in it wasn't going to be a top of the line book,but in the past the teach/learn in days/months books have anyways been a good starting out point for me,qbasic/c/vb5.i have no hopes of being a pro java person or some such,i just wanna learn the basic commands and what not.
You'll see lots and lots of differences between 1.0 and 1.4. There were even major differences between 1.0 and 1.1 in the way GUIs (for one example) were handled. My first Java book was "Teach Yourself Java in 21 Days" version 1.1 and that was quite a few years ago. I couldn't recommend trying to learn Java today from any book that was based on Java 1.0.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I just like to echo Ernest's rather succinct book review of Teach Yourself Java in 21 Days. I recently borrowed a copy (of a more recent edition) from a friend just to get a little taste of Swing, which I hadn't done before. I'm an experienced server-side Java and web developer.
The book contained an unusual amount of errors and inconsistencies in the example code, including bad coding practice, and the narrative frequently used poor English. The tone was often patronising and the pace pedestrian. Even if the book covered version 1.4 I wouldn't recommend it unless the publishers/editors have pulled their socks up and the authors have changed.