what are the new features available in java 1.5 version?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between this and super keyword?

533


What is the difference between and ?

515


Is array a class?

523


What is the difference between variable & constant?

544


How to print an arraylist in java?

500






Why is singleton instance static?

507


what is recursion in java

601


how does multithreading take place on a computer with a single cpu? : Java thread

696


What is the Scope of Static Variable?

732


What is java objectoutputstream?

544


What is queue in java?

554


What is return keyword in java?

567


Write a program to reverse array in place?

592


What are the important methods of java exception class?

574


What is the importance of main method in Java?

575