Differences between jdk 1.4 and 1.5
Answer Posted / nagarjuna j
1.Generics
2.autoBoxing/unBoxing,
3.varargs,
4.type_safe enums,
5.static imports
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we have this () and super () together?
Define an applet in java?
Does java list allow null?
What is jit compiler ?
How would you convert bytes to string?
What is meant by data hiding/encapsulation?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is the purpose of void class?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
When should a function throw an exception?
How many times finalize method will be invoked? Who invokes finalize() method in java?
Can we convert list to set in java?
Can a class be private or protected in java?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
Why string is immutable or final in java