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 is local declaration?
What data type is true or false?
Is empty list java?
What are different access specifiers in java? Explain
Differences between C and Java?
Is string is a data type?
Which graphs are functions?
Explain about wait() method?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is the purpose of assert keyword used in jdk1.4.x?
What is the difference between yield() and sleep()?
Differentiate between == and equals().
How will you invoke any external process in java?
What is the difference between serializable and externalizable interfaces?
What technique can be employed to compare two strings?