Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java 5,6,7,8  RSS feed

 
Grega Leskovšek
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a difference in STARTING learning (I mean teaching high school students in a free course) java prior to 8 and java 8?
I mean can I use reference books that are older (5-7 java) and is there a quantom leap from java 7 to v8?
Thanks, Gregor
 
Junilu Lacar
Sheriff
Posts: 10948
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My son took a semester of Java programming in high school and they only got to basic loops and static methods. They didn't even get to object-oriented programming concepts. Your mileage may vary but based on what I saw with my son's high school class, I think it would be safe for you to teach them using older reference books. The main additions to the language in Java 7 and 8 are beyond the scope of a beginner's high school class, IMO.
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the possible exception of try‑with‑resources.

There are lots of people learning well with Head First Java 2/e and that is a Java5 book. Also it is available second‑hand for very low prices because of its age.
 
Grega Leskovšek
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I googled and as I understand try with resources I put a problematic block in parentheses after keyword try. Is there anything else I should know? Did I get it?
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think so. Here is the relevant Java Tutorials page.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The jump from 5 to 6 is fairly minor. The jumps from 6 to 7 and also from 7 to 8 I'd characterize as significant, so if the goal is to learn Java 8 - definitely stay away from Java 5 or 6 books.
 
Junilu Lacar
Sheriff
Posts: 10948
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you could add a little more perspective, Gregor. What topics are you planning to teach your high school kids? Do you have any budget concerns? You may have better luck finding older books at a cheaper price or you may have some older reference books already. If you only plan to cover basic programming constructs like assignment, if-then-else, and loops, methods, and basic object-orientation, then practically any introductory book on Java will do. Do you think you're going to get to more advanced concepts like lambda expressions, interfaces, streams, and maybe even functional programming?
 
Grega Leskovšek
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to teach programming course at my Gymansium this year but I was ill in September and at the same time the vice headmaster did not respond to my proposition although I asked for that in my previous year . Next year I will do the survey of what they want to learn and how much they know and the interests (which language etc)and will see later. I don't know if I will teach Java or HTML5 or JS or whatever, but if Java I will take the practices/tests out of HeadFirst and will combine other book as well. Thanks, Gregor
P.S.
Really stupid of them as I told them I will not charge a dime for my time.
 
Junilu Lacar
Sheriff
Posts: 10948
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They never know what they're missing until they do. Good luck!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!