What is the main difference between jdk1.4 and jdk1.5

Showing Answers 1 - 6 of 6 Answers

kaustav

  • Sep 23rd, 2006
 

The J2SE 1.5 is the advance version relized by the sun ,this they have made more addition addition towards the existing J2SE1.4 in makking Collection frmework Better.With that there are also may added feature like Generic statements,Annotation ETC...

eyad almasalkhi

  • Nov 2nd, 2006
 

there are many additions for jdk1.5 than jdk1.4 such as:

1- import static

2- generic type

3- enum

  Was this answer useful?  Yes

Arun Rajput

  • Nov 15th, 2006
 

1

jdk1.5 is sun's tiger project

2

collection framework is better with generic introduction

now we can add only related objects in collection

e.g

ArrayList<String> al=new ArrayList<String>

ArrayList<Integer> al=new ArrayList<Integer>

3

StringBuilder class for usync StringBuffer

  Was this answer useful?  Yes

elayaraja

  • Jun 12th, 2008
 

The base of JDK1.4 is reused with the JDK1.5 and the addtions are generics, autoboxing and annotations etc.. till now the 1.4 is in use because 1.4 is extensively tested by vendors and it is the stable version of JDK by SUN.

  Was this answer useful?  Yes

Jdk 1.5 has various feature which was not in jdk 1.4. These new features are below-

1)Annotation
2)AutoBoxing
3)Enum support
4)ForEach
5)Generic implemention of Class, Method, WildCards, Bounded Type.
6)Variable Argument support.

Rajesh

  • May 31st, 2012
 

Different between jdk1.5 and jdk1.6 details Explain with code Example.?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions