Search your topic in Java2share
Home > FAQs
eXTReMe Tracker


CoreJava FAQs


Untitled Document

Q185. How are this and super used?
this is used to refer to the current object instance. super is used to refer to the variables and methods of the superclass of the current object instance.

Q186. What is the purpose of garbage collection?
The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources may be reclaimed and reused.

Q187. What is a compilation unit?
A compilation unit is a Java source code file.

Q188. What interface is extended by AWT event listeners?
All AWT event listeners extend the java.util.EventListener interface.