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
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
How do I get a substring?
What is collection class in java? List down its methods and interfaces.
What is the use of parseint in java?
What is sizeof in java?
What is structure of java heap? What is perm gen space in heap?
How many types of threads are there in java?
What is difference between hashset and hashmap in java?
How to sort double array in java?
Write a java program that prints all the values given at command-line.
Can we declare a class as static?
Difference between abstract and concrete class ?
What does += mean in java?
What is the purpose of lambda expressions?
How will you call an Applet using Java Script Function?