I have just started trying to learn Java and have bought myself a book which teaches how to use SDK 5.0. Would it be simple to learn using this version then upgrade to 6 or 7? Is there a huge difference between the versions?
Printable View
I have just started trying to learn Java and have bought myself a book which teaches how to use SDK 5.0. Would it be simple to learn using this version then upgrade to 6 or 7? Is there a huge difference between the versions?
The basics are going to be the same, and anything you write in 1.5 will run in 1.6, etc. But you're going to miss out on a few additions to the language, and 1.5 has been EOL'ed and is no longer supported.
For more detail: Java version history - Wikipedia, the free encyclopedia
But starting to learn in 5 is ok and then as I progress adapt and learn the new changes (assume it'll be quite clear where the changes are etc.)?
If you're just trying to learn the basics (methods, Objects, for loops, etc), then it's fine. Those things don't change. But if you already know the basics behind programming and are trying to add Java to the list of languages you know, then it makes more sense to learn from a more modern source.
Oh no, I'm starting from the very beginning, in the sense I've not got a clue what methods, Objects, for loops, etc are!! lol So I should be cool with this book, then move onwards and upwards. Think I've found a good place here though if everyone's as helpful as you
Thanks for the help!
No problem. You might also want to take a look at the tutorials: The Java™ Tutorials and the API: Java Platform SE 6. If you're learning how to program Java, those are both your new best friends.