Advertisement

10.10.2007 at 08:34AM PDT, ID: 22884369
[x]
Attachment Details

new features in jdk5.0

Asked by jaggernat in Java Programming Language

Tags: features, new

hi guys

I am currently using jdk 1.4.2 and would like to upgrade to jdk 5.0

I would like to know what are the new features available and the coding conventions introduced in
jdk5.0 which are  different from or not there in jdk1.4.2

How has the programming coding style changed in jdk5.0?

for example if i have a peice of code using arraylist like this
ArrayList myList = null;
myList = databseAdapter.findBySearch(user, criteria); //querying the database and getting results
for (int i=0; i<myList.size(); i++) {
ValueObject price = (ValueObject) myList.get(i);
if(price.getId != null)
formBean.setId(price.getId);
}

How does using jdk5.0 change the above coding convention in any way or is it the same?

if you guys can give any other examples of what is new in jdk 5.0 , that would be great

thanks
JStart Free Trial
[+][-]10.10.2007 at 08:41AM PDT, ID: 20049483

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.10.2007 at 08:45AM PDT, ID: 20049520

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Tags: features, new
Sign Up Now!
Solution Provided By: sciuriware
Participating Experts: 3
Solution Grade: A
 
 
[+][-]10.10.2007 at 08:48AM PDT, ID: 20049547

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2007 at 08:52AM PDT, ID: 20049579

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.10.2007 at 08:58AM PDT, ID: 20049630

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2007 at 09:02AM PDT, ID: 20049663

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.10.2007 at 09:06AM PDT, ID: 20049694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2007 at 09:07AM PDT, ID: 20049703

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.10.2007 at 09:09AM PDT, ID: 20049727

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628