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 the use of inner class?
What is the order of arraylist in java?
What is object cloning in Java?
Can java list be null?
What is bom encoding?
What is the importance of static variable?
Explain the significance of listiterator.
What are 5 boolean operators?
Are floats faster than doubles?
What are the different types of constructor?
What is meant by anonymous class?
What is the meaning of find and replace?
Explain the selection sort algorithm and state its time complexity?
What does singleton mean in java?
What are different types of references?