Interview Questions - Advanced Java

61.
What method is invoked to cause an object to begin executing as a separate thread?
The start() method of the Thread class is invoked to cause an object to begin executing as a separate thread.

62.
Name two subclasses of the TextComponent class.
TextField and TextArea.

63.
Which containers may have a MenuBar?
Frame.

64.
How are commas used in the intialization and iteration parts of a for statement?
Commas are used to separate multiple statements within the initialization and iteration parts of a for statement.