Basic and Advance Java Question:

Download Job Interview Questions and Answers PDF

What method is used to specify a container’s layout in Java Programming?

Java Interview Question
Java Interview Question

Answer:

The setLayout() method is used to specify a container’s layout in Java Programming.

Download Java Interview Questions And Answers PDF

Previous QuestionNext Question
What is the preferred size of a component in Java Programming?Which containers use a FlowLayout as their default layout in Java Programming?