What is difference between Iterator and for loop
Answer Posted / srikanth nallapaneni
Iterator is used in Collection objects,but for is used for
variables.
| Is This Answer Correct ? | 15 Yes | 18 No |
Post New Answer View All Answers
what is instanceof operator used in java?
What are anonymous inner classes?
What is difference between Heap and Stack Memory?
Can you sort a list in java?
Difference between stack and queue?
What are the library functions in java?
How many ways can we create the string object?
how to split string in java?
Can we split string with in java?
What is use of static method?
How to split a string in java?
What is the final variable?
What is the unit of plancks constant?
Can a class extend 2 classes in java?
Can we use both this () and super () in a constructor?