Which two statements are true? (Choose two).
a.The button labeled �North and South� will have the same width
b.The button labeled �North and South� will have the same height.
c.The height of the button labeled �North� can vary if the Frame is resized.
d.The height of the button labeled �South� can vary if the Frame is resized.
e.The width of the button labeled �North� is constant even if the Frame is resized.
f.The width of the button labeled �South� is constant even if the Frame is resized.
EXHIBIT.
1.import java.awt*;
2.
3. public class X extends Frame {
4. public static void main (
string[ ]) (
5. X x = new X ( );
6. x = pack ( );
7. x.setvisible (true);
8.}
9.
10. public X ( ) {
11. setLayout {new BorderLayout.11 );
3. 12. panel p = new Panel ( );
4.add {p. BorderLayout,( NORTH );
5.Button b = new Button (�North�);
6.p.add [b];
7.Button b[ = new Button (�SOUTH�);
8.add (bi, BorderLayout.SOUTH);
9. }
10.}