To set a FlowLayout in panel jp, you can use the method

To set a FlowLayout in panel jp, you can use the method __________.


A. jp.setLayout(new FlowLayout());
B. jp.setLayout(new FlowLayout(FlowLayout.CENTER));
C. jp.setLayout(new FlowLayout(FlowLayout.center));
D. jp.setLayout(FlowLayout());

The correct answer is AB


Java

Learn More Multiple Choice Question :