Set - 4

Question 26 :

Which containers use a FlowLayout as their default layout?

Answer :

The Panel and Applet classes use the FlowLayout as their default layout.


Question 27 :

What state does a thread enter when it terminates its processing?

Answer :

When a thread terminates its processing, it enters the dead state.


Question 28 :

What is the Collections API?

Answer :

The Collections API is a set of classes and interfaces that support operations on collections of objects.


Question 29 :

Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

Answer :

The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier.


Question 30 :

What is the List interface?

Answer :

The List interface provides support for ordered collections of objects.