Top 100+Advanced Core Java Interview Questions 2019-2020 - 1

Question: 1

Which method of the component class is used to set the position and the size of a component?

setBounds()

Question: 2

Which components are used to get text input from the user?

TextField and TextArea

Question: 3

Which layout should you to organize the components of a container in a tabular form?

GridLayout

Question: 4

Which is a dual state menu item?

CheckboxMenuItem

Question: 5

What is the preferred size of a component?

The preferred size of a component size that will allow the component to display normally.

Related Questions