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 are the different http methods?
What is classes in java?
What is hash table in java?
What are the advantages of functions?
How to perform linear search in java?
Can we rethrow the same exception from catch handler?
How do you do exponents in java?
What is nested interface?
How can an exception be thrown manually by a programmer?
What is final keyword in java? Give an example.
Does apple use java?
How do you replace all in word?
What are three types of loops in java?
Why are global variables used?
How do you start a thread?