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
Which of the following is not an isolation level in the JDBC
What is difference between synchronize and concurrent collection in java?
What does the “final” keyword mean in front of a variable? A method? A class?
Explain creating threads by implementing runnable class?
What is difference between checked and unchecked exception in java?
How do you check if an arraylist is not empty?
Can we assign null to double in java?
Write a program to search a number in the given list of numbers.
What is the difference between an inner class and a sub-class?
Can we override the static methods?
What is a parameter in simple terms?
Can static methods be inherited?
Should database connections be singleton?
Which is bigger double or float?
What is jvm? Why is java called the platform independent programming language?