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 the this keyword?
How to create two different thread class inside a main function?
write a code, we have two thread, one is printing even no and other print the odd no.
How do you reverse a string in java?
What are the advantages of java over cpp?
Can a vector contain heterogenous objects?
Which collection is ordered in java?
What is singleton class in java and how can we make a class singleton?
What is compareto () in java?
What is jit compiler in java?
What is meant by final class?
What is difference between final and immutable?