What is an Iterator interface?
Answers were Sorted based on User's Feedback
Iterator provides a general purpose standardised way of
accessing elements one at a time.It has 3 methods
next()
hasNext()
remove()
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
Iterator interface deefines the iterator method to traverse
threw the elements of a collecion unidirectionally
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the size of a string in java?
What is string pool?
How many threads can I run java?
Why we can not force Garbage Collection?
explain the difference between jdk and jvm?
How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?
What is a marker interface?
Is array a class in java?
Can a class be a super class and a sub-class at the same time? Give example.
Write a program to print all permutations of string?
What does business logic mean?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?