Eclipse Question:
Download Questions PDF

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

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.

Download Eclipse Interview Questions And Answers PDF

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