Differences between jdk 1.4 and 1.5
Answers were Sorted based on User's Feedback
Answer / bantupallinarayanarao
(1). the major enhancement for JDK 1.5 version
Language Features
1. Generics
2. Enhanced for loop
3. Autoboxing/Unboxing
4.Type Safe Enums
5. Varargs
6. Static import
7. Annotations
Is This Answer Correct ? | 36 Yes | 2 No |
Answer / monu jatav
In jdk 1.4 public static void main(string a[])
but we can use in jdk 1.5
public static void main(string ... a)
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / guest
Generics were introduced in 1.5
JIT compilation was introduced
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nagarjuna j
1.Generics
2.autoBoxing/unBoxing,
3.varargs,
4.type_safe enums,
5.static imports
Is This Answer Correct ? | 1 Yes | 0 No |
What is meant by throwing an Exception?
Can u overload main()method.Give with example.
6 Answers IBM, Schimatic Technologies,
After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why?
Explain runtime exceptions?
Tell me a few examples of final classes defined in Java API?
When will you define a method as static?
What is object cloning in Java?
0 Answers SwanSoft Technologies,
What are the characteristics provided in jdk1.6 apart from other versions?
What are the steps involved to write rmi based programs?
What is meant by event handling in SAX parser?
How do you load an HTML page from an Applet ?
Why do we need wrapper class?