Search your topic in Java2share
Home > FAQs
eXTReMe Tracker


CoreJava FAQs


Untitled Document

Q189. What restrictions are placed on method overriding?
• Overridden methods must have the same name, argument list, and return type.
• The overriding method may not limit the access of the method it overrides.
• The overriding method may not throw any exceptions that may not be thrownby the overridden method.

Q190. How can a dead thread be restarted?
A dead thread cannot be restarted.

Q191. What happens if an exception is not caught?
An uncaught exception results in the uncaughtException() method of the thread's
ThreadGroup being invoked, which eventually results in the termination of the program in which it is thrown.

Q192. What is a layout manager?
A layout manager is an object that is used to organize components in a container.