Java Programming and Technical Programming Technical

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

Read Solution (Total 0)

Java Other Question

Q. What is the List interface?

A. The List interface provides support for ordered collections of objects. Lists may contain duplicate elements.
Q. Difference between static and dynamic class loading.

A. Static class loading: The process of loading a class using new operator is called static class loading. Dynamic class loading: The process of loading a class at runtime is called dynamic class loading. Dynamic class loading can be done by using Class.forName()newInstance()