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 difference between double and float variables in java?
. Define Copy Constructor in Java
Is arraylist dynamic in java?
Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.
I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Is string a data type in java?
What is the format specifier?
Why const and goto are reserved keyword in java?
how can u apply shallow cloning and deep cloning to create object?
What is the largest number a double can hold?
What are actual parameters?