Eclipse Question:

Do we need to explicitly invoke org.eclipse.swt.graphics.Image.dispose()?

Eclipse Interview Question
Eclipse Interview Question

Answer:

Application code must explicitly invoke the Image.dispose() method to release the operating system resources managed by each instance when those instances are no longer required. This is because that the Java finalization is too weak to reliably support management of operating system resources.


Previous QuestionNext Question
What is the classpath of a plug-in?What is Display, what is Shell?