Answer Posted / prakash
By using Iterator interface and by using enhanced for
loop(for each for loop).
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are 3 data types?
What is a wrapper method?
What do you mean by access modifier?
What is static keyword in java?
How does linkedlist work in java?
What is the difference between final, finally and finalize() in java?
What is the escape character in java?
What is the base class of all classes?
When should I use a singleton?
Can we increase array size dynamically in java?
What state does a thread enter when it terminates its processing in java programming?
What is a default method?
Difference between static and dynamic class loading.
What is class and object in java?
Can I uninstall java?