Computer Science, asked by rvjoshna, 6 months ago

Which of the following class is used to create a pop-up list of items in java

Answers

Answered by devanshmishra542
0

Answer:

Choice class is part of Java Abstract Window Toolkit(AWT). The Choiceclass presents a pop- up menu for the user, the user may select an item from the popup menu.

Explanation:

Hope it will help

Answered by aliyasubeer
0

Answer:

CHOICE CLASS is used to create a pop-up list of items in java.

Explanation:

  • Choice class is part of Java Abstract Window Toolkit(AWT). The Choice class presents a pop- up menu for the user, the user may select an item from the popup menu. The selected item appears on the top.

The Choice class inherits the Component.

  • Constructor for the Choice class

                           Choice() : creates an new empty choice menu .

Similar questions