Search your topic in Java2share
Home > FAQs
eXTReMe Tracker


CoreJava FAQs


Untitled Document

Q77. Which Container method is used to cause a container to be laid out and redisplayed?
validate()

Q78. What is the purpose of the Runtime class?
The purpose of the Runtime class is to provide access to the Java runtime system.

Q79. How many times may an object's finalize() method be invoked by the garbage collector?
An object's finalize() method may only be invoked once by the garbage collector.

Q80. What is the purpose of the finally clause of a try-catchfinally statement?
The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught.