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
Does collectionutils isempty check for null?
What is string data type?
How to use Media tracker Class.
What is type inference in java8?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is the abstract class?
Explain about varargs in java?
Why java is considered as platform independent?
Can we override constructors in java?
What is the escape character in java?
Can we declare a class as abstract without having any abstract method?
How do you escape a string?
What is the default value of byte datatype in java?
Is java a software?
What does a void function return?