what are the new features available in java 1.5 version?

Answers were Sorted based on User's Feedback



what are the new features available in java 1.5 version?..

Answer / pawan

Java 1.5 has the following features
Boxing and UnBoxing
Generics
Enums
Variable argument parameters
StringBuilder
static imports
in method overriding, overriding method can have the sub
type of overriden method

Is This Answer Correct ?    40 Yes 3 No

what are the new features available in java 1.5 version?..

Answer / srinath

Enhanced for

for (a: b)
{

}

here b is an array and for every value of array will be
assigned to a and the for loop is executed.

Is This Answer Correct ?    18 Yes 0 No

what are the new features available in java 1.5 version?..

Answer / t.jaya govind sudhakar

as above they told we have assert and enhanced forloop.
assert is placed in place of if. just a slight diff....if we
are handling with more objects then most of the cases we are
using enhanced forloop .

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Core Java Interview Questions

Can arraylist contain null values?

0 Answers  


What is dynamic binding?

2 Answers  


What is %02d?

0 Answers  


I want to persist data of objects for later use. What is the best approach to do so?

0 Answers  


what are Hostile Applets?

0 Answers  






What do you understand by the term wrapper classes?

0 Answers  


What is the difference between class & object?

0 Answers  


State the main difference between c++ and java?

0 Answers  


Difference between static binding and dynamic binding?

0 Answers  


what is the form of storage space in java?

5 Answers  


If there are two notepad opened and working on it . is this a process or thread? computer based Live Example to differentiate between Thread , Process , and Multi tasking ?

3 Answers   TCS, Wipro,


explain about method overloading and method overriding with difficult examples

4 Answers  


Categories