• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Java 6

 
mark crannage
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Java 6 to do my assignment, I have not used Java 6 before and am not aware of all its features but am using JDK 6 and referencing the Java 6 API.

Will I lose marks for not using all the latest features?

thanks,
M.C
 
David Winters Junior
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

There are parts of java 1.5 which are of benefit to use such as classes and interfaces in java.util.concurrent package over the java 1.4.2 x api expecially when it comes to your locking implmenetation. Also there are some features such as Typed Collections (Map<String,Long> numbers = new HashMap<String,Long> recnumbers) which are of benefit to you in java 1.5.x.

There is a good book from o'reilly on java 6 a developers notebook which will give you a good overview with some samples of the new features in java 6 compared to java 1.4.2 and which you could read in a half a day.

Overall i suggest using these new features where possible in the assignment afterall it is very likely you will need to know these new features at some point in the future.

hope this helps
David
 
Adrian Engler
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, these are new features of Java 5 - I certaily would recommend using them. However, between Java 5 and Java 6, there are much fewer new features, and most of them (such as scripting support and better OS/desktop integration) are probably not relevant for the SCJD assignment. One new feature of Java 6, I am using in my project is the simplified way that sorting of Swing tables is supported - with relatively little code, it can be suppoorted that a JTable is sorted by the contents of a column when a user clicks on the column header.

As far as I know, more new features are planned for Java 7 than for Java 6, but that is not relevant for us who are working on the SCJD project now, of course.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic