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
Which class represents the socket that both the client and server use to communicate with each other?
How do you decide when to use arraylist and linkedlist?
What is the difference between a static and a non-static inner class in java programming?
Break statement can be used as labels in java?
How do you differentiate abstract class from interface?
Does a class inherit the constructors of its superclass in java programming?
What is the difference between hashmap and hashtable? What is an interface?
What is the use of parseint in java?
How to do encapsulation in java?
Is java free for businesses?
5 Coding best practices you learned in java?
How does linkedhashmap work in java?
What is the purpose of sizeof operator?
Explain importance of throws keyword in java?
Can we declare main () method as non static?