Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What is final, finally, finalize?

0 Answers  


What is callable java?

0 Answers  


what is diffrence between .NET and java?

2 Answers  


What is contract between hashcode and equal method?

0 Answers  


What is navigable map in java?

0 Answers  






how can you catch multiple exceptions in java?

0 Answers   Cyient,


What is the difference between static class and normal class?

0 Answers  


What is the relationship difference the canvas class and the graphics class?

0 Answers  


How to handle a web browser resize operation?

0 Answers  


What is the hashcode () and equals () used for?

0 Answers  


what is the difference b/w static and final methods?

1 Answers  


Mention some features of java?

0 Answers  


Categories