Prepare for your Next Interview
This is a discussion on Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6 within the Java forums, part of the Software Development category; What is the difference between jdk1.4.2 and jdk 1.5.0 and jdk1.6 I have created s front page using jdk1.4.2 swing tools. After that ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6
What is the difference between jdk1.4.2 and jdk 1.5.0 and jdk1.6
I have created s front page using jdk1.4.2 swing tools. After that i have updated with jdk.1.60 what happen my window color automatically change I have used a drop down list box of linked with Mysql database table emp, in this I can't able to type to get a value i have to scroll for picking a emp no. (jdk1.4.2) after updation i can directly type the no i shows i corresponding other details like empname and all Why it does not work in jdk1.4.2 Question asked by visitor siranjeevi |
| The Following 3 Users Say Thank You to Geek_Guest For This Useful Post: | ||
| Sponsored Links |
|
|||
|
hi,
There are lot of class have been deprecated in java 5. and sun have named it as Java Tiger. They have added some features also. somethink like autoboxing, autounboxing, generics, for loop enhanced, etc..., So if you have created an application/program using java 1.4 it may for some occasion wont run in java 5. the reason is many classes have been deprecated. I dont know how to tell clearly. For further ref. see java complete reference something like that. Regards, Rajkumar |
|
|||
|
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6
You should check out the list of some of the deprecated methods and such at
http:// java . sun . com /j2se/1.5.0/docs/api/deprecated-list . html This shows a number of AWT and Swing stuff that are not used anymore. |
| The Following User Says Thank You to Peruano For This Useful Post: | ||
|
|||
|
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6
All are in 1.5 but not in 1.4 generics this long-awaited enhancement to the type system allows a type or method to operate on objects of various types while providing compile-time type safety. It adds compile-time type safety to the collections framework and eliminates the drudgery of casting. Enhanced for loop this new language construct eliminates the drudgery and error-proneness of iterators and index variables when iterating over collections and arrays. Autoboxing/unboxing this facility eliminates the drudgery of manual conversion between primitive types (such as int) and wrapper types (such as integer). Typesafe enums this flexible object-oriented enumerated type facility allows you to create enumerated types with arbitrary methods and fields. It provides all the benefits of the typesafe enum pattern ("effective java," item 21) without the verbosity and the error-proneness. Varargs this facility eliminates the need for manually boxing up argument lists into an array when invoking methods that accept variable-length argument lists. Static import this facility lets you avoid qualifying static members with class names without the shortcomings of the "constant interface antipattern."
|
|
|||
|
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6
Hi,
I am facing a problem with the session beans. Problem Description :- I have set a value in the session bean and when i tried to get the value from the session bean a null value is returned. What could be the problem for this. recently i have upgraded the jdk version from jdk1.4 to jdk1.5. Is there any problem with the class files compiled on jdk1.5. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|