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.findBySearc
h(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
J
Start Free Trial