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 |
Why operator overloading is not in Java?
What is module in oop?
What is a parameter example?
What is a Null object?
what is method reference in java 8?
What is enhanced loop in java?
How to change the priority of thread or how to set priority of thread?
Why do we use variables?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
Can I import same package/class twice?
What is private protected in java?
What is the purpose of the enableevents() method in java programming?