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
Why pointers are not used in java?
What is %d in printf?
What is a function in programming?
Is char a method in java?
How do you create a method in java?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
What is difference between string and stringbuffer?
What are the benefits of operations in java?
How is hashset defined in java?
How many types of literals are there in JAVA?
How to declare objects of a class ?
What is type conversion in java?
Write a java program that prints all the values given at command-line.
what is thread? : Java thread
Explain different types of thread priorities ?