Abstract Window Toolkit (AWT) Question:

What is the difference between choice and list?

AWT Interview Question
AWT Interview Question

Answer:

A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices and only one item may be selected from a choice. A List may be displayed in such a way that several list items are visible and it supports the selection of one or more list items.


Previous QuestionNext Question
What is source and listener?What is a layout manager and what are different types of layout managers available?