What is difference between Iterator and for loop
Answer Posted / punamchand
Iterator has its own method remove() which is used to remove data while for each don't have its own method
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is jit compiler in java?
What are the different types of sorting in java?
What is math exp in java?
How many arguments can a method have java?
Difference between Preemptive scheduling vs. Time slicing?
What are nested classes in java?
What if I write static public void instead of public static void in java?
What is a predicate method?
In the below example, how many string objects are created?
What are methods of a class?
What is java in simple terms?
What is static in java?
What is file in java?
What are methods in java?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?