Java Programming and Technical HR Interview Interview

Q. What is the List interface?

A. The List interface provides support for ordered collections of objects. Lists may contain duplicate elements.

Read Solution (Total 1)

Java Other Question

Q. What is an Iterator ?

A. The Iterator interface is used to step through the elements of a Collection. Iterators let you process each element of a Collection. Iterators are a generic way to go through all the elements of a Collection no matter how it is organized. Iterator is an Interface implemented a different way for every Collection
Q. What is memory leak?

A. A memory leak is where an unreferenced object that will never be used again still hangs around in memory and doesnt get garbage collected