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 entry set in java?
How many types of interfaces are there?
Is java pass by value or pass by reference?
What is not object oriented programming?
How can you reverse a string?
What do you mean by synchronized non access modifier?
What is better- service oriented or batch oriented solutions?
Why do we need to override equals() and hascode() method of object class?
difference between byte stream class and character stream class?
How can we find size of the object ?
What is the difference between stream and buffer?
what is use of functional interface in java 8?