Why for each loop is used?
Answer / Ram Pravesh Kumar
The for-each loop (also known as enhanced for loop) is used to iterate through collections such as arrays and ArrayLists, without the need to use an index.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which access specifier can be used with class ?
how many types of cloning?
Diff between Comparator and Comparable?
What is replacefirst in java?
What enableEvents() method do?
what is Portal(web based online portal)?
what is the use of abstract class?
3 Answers Amdocs, Atos Origin, Invictus,
What are locale settings?
what is Abstract DataType?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What is double data type?
What is an example of procedure?