网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Which layout manager is used when the frame is resized the buttons’s position in the Frame might be changed?()
A

 BorderLayout

B

 FlowLayout

C

 CardLayout

D

 GridLayout


参考答案

参考解析
解析: A:该布局管理器将容器划分为五个部分,容器大小的改变不会影响其中的组件的位置而是影响他们的大小。 
B:该布局管理器根据放入其中的组件的最合适大小调整组件的位置,根据组件放入的顺序安排,一行不能容纳时放入下一行,因此容器的大小改变可能改变组件的位置。    
C://该布局管理器显示放入该容器的当前页中的组件,一次显示一个,容器大小的改变不能影响其中组件的位置。 
D://该布局管理器将容器划分为固定的网格,组件加入后占据一个单元,各组件的相对位置不会因为容器的大小变化而变化,改变的只是组件的大小。
更多 “单选题Which layout manager is used when the frame is resized the buttons’s position in the Frame might be changed?()A  BorderLayoutB  FlowLayoutC  CardLayoutD  GridLayout” 相关考题
考题 When selecting a Network Interface Card (NIC), which of the following factors need to be considered?() A. The type of application used on the networkB. The type of system bus used by the computersC. The type of memory installed in each computerD. The type of media used in the network topologyE. The type of protocols used in the networkF. The physical layout of the network hosts

考题 Which statement about Frame Relay is not true?()A、Static mapping is used when the remote router does not support Inverse ARP.B、Frame Relay Inverse ARP requires LMI capability to construct an address to the DLCI mapping tableon the router.C、Frame Relay Inverse ARP is disabled by default in Cisco IOS Software for all protocols that areenabled on the physical interface.D、Inverse ARP does not work when LMI is disabled.E、Frame Relay provides forward and backward congestion notification messages

考题 Which attribute is used to pass the user role back to the Nexus when remote AAA is enabled?()A、 Cisco AV-pairB、 TACACS+ or RADIUS ack frame role attributeC、 DH-CHAP challenge attributeD、 privilege level attribute

考题 Which of the following features is an IBM advantage when comparing the Oracle/Storage TekVirtual Storage Manager (VSM) to the IBM Virtualization Engine TS7700 (VTS)?()A、throughput B、automatic tape reclamation C、3490E tape volume emulation D、disk and tape (physical) storage included in same frame

考题 Which statements are true concerning the default layout manager for containers in the java.awt package?()  A、Objects instantiated from Panel do not have a default layout manager.B、Objects instantiated from Panel have FlowLayout as default layout manager.C、Objects instantiated from Applet have BorderLayout as default layout manager.D、Objects instantiated from Dialog have BorderLayout as default layout manager.E、Objects instantiated from Window have the same default layout manager as instances of Applet.

考题 Which layout manager is used when the frame is resized the buttons’s position in the Frame might be changed?()         A、 BorderLayoutB、 FlowLayoutC、 CardLayoutD、 GridLayout

考题 Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.()

考题 Which command can be used to verify the DLCI destination address in a Frame Relay static configuration?()A、show frame-relay end-to-endB、show frame-relay mapC、show frame-relay lmiD、show frame-relay pvc

考题 When selecting a Network Interface Card (NIC), which of the following factors need to be considered?()A、The type of application used on the networkB、The type of system bus used by the computersC、The type of memory installed in each computerD、The type of media used in the network topologyE、The type of protocols used in the networkF、The physical layout of the network hosts

考题 Which Ethernet field is used to differentiate between the FCoE frame and the FIP frame?()A、 Ethernet FCSB、 Source addressC、 Destination addressD、 EtherTypeE、 Protocol type

考题 import java.awt.*;   public class X extends Frame {   public static void main (String args) {   X x = new X();   x.pack();   x.setVisible(true);   }  public X() {   setLayout (new BordrLayout());   Panel p = new Panel ();   add(p, BorderLayout.NORTH);   Button b = new Button (“North”);   p.add(b):   Button b = new Button (“South”);   add(b1, BorderLayout.SOUTH):   }   }   Which two statements are true?()A、 The buttons labeled “North” and “South” will have the same width.B、 The buttons labeled “North” and “South” will have the same height.C、 The height of the button labeled “North” can very if the Frame is resized.D、 The height of the button labeled “South” can very 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.

考题 A Button is positioned in a Frame. Only height of the Button is affected by the Frame while the width is not. Which layout manager should be used?()    A、 FlowLayoutB、 CardLayoutC、 North and South of BorderLayoutD、 East and West of BorderLayoutE、 GridLayout

考题 import java.awt*;   public class X extends Frame (   public static void main(string args) (  X x = new X ();   X.pack();   x.setVisible(true);  )  public X () (   setlayout (new GridLayout (2,2));   Panel p1 = new panel();    Add(p1);    Button b1= new Button (“One”);    P1.add(b1);   Panel p2 = new panel();    Add(p2);   Button b2= new Button (“Two”);    P2.add(b2);    Button b3= new Button (“Three”);   add(b3);   Button b4= new Button (“Four”);   add(b4);   )   )   Which two statements are true? ()A、 All the buttons change height if the frame height is resized.B、 All the buttons change width if the Frame width is resized.C、 The size of the button labeled “One” is constant even if the Frame is resized.D、 Both width and height of the button labeled “Three” might change if the Frame is resized.

考题 Which statement is correct about logical units on Juniper Router interfaces?()A、Logical units are used only when a Layer 2 identifier is present such as a VLANB、A logical unit of 0 is required when using a frame-relay DLCIC、A logical unit is always requiredD、Logical units are not required unless ATM or 802.1Q VLAN tagging is configured.

考题 Which tool in the layout model could you use to create an external boiler plate object?()A、Field B、Frame C、Button D、RectangleE、Link file

考题 You are assigned the task of building a panel containing a TextArea at the top, a label directly below it,and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when  the panel is resized?()A、 GridLayout.B、 CardLayout.C、 FlowLayout.D、 BorderLayout.E、 GridBagLayout.

考题 单选题Which of the following features is an IBM advantage when comparing the Oracle/Storage TekVirtual Storage Manager (VSM) to the IBM Virtualization Engine TS7700 (VTS)?()A throughput B automatic tape reclamation C 3490E tape volume emulation D disk and tape (physical) storage included in same frame

考题 单选题Which statement is true?()A  A flow layout can be used to position a component that should resize horizontally when the  container is resized.B  A grid layout can be used to position a component tat should maintain a constant size even when  the container is resized.C  A border layout can be used to position component that should maintain a constant size even when  the container is resized.D  The grid bag layout can be used to give a grid-like layout which differs from the normal grid in that individual rows and columns can have unique sizes.E  If two components are placed in the same column of a grid bag layout, and one component resizes horizontally, then the other component must resize horizontally.

考题 单选题Which Ethernet field is used to differentiate between the FCoE frame and the FIP frame?()A  Ethernet FCSB  Source addressC  Destination addressD  EtherTypeE  Protocol type

考题 多选题import java.awt.*;   public class X extends Frame {   public static void main (String args) {   X x = new X();   x.pack();   x.setVisible(true);   }  public X() {   setLayout (new BordrLayout());   Panel p = new Panel ();   add(p, BorderLayout.NORTH);   Button b = new Button (“North”);   p.add(b):   Button b = new Button (“South”);   add(b1, BorderLayout.SOUTH):   }   }   Which two statements are true?()AThe buttons labeled “North” and “South” will have the same width.BThe buttons labeled “North” and “South” will have the same height.CThe height of the button labeled “North” can very if the Frame is resized.DThe height of the button labeled “South” can very if the Frame is resized.EThe width of the button labeled “North” is constant even if the Frame is resized.FThe width of the button labeled “South” is constant even if the Frame is resized.

考题 单选题A Button is positioned in a Frame. Only height of the Button is affected by the Frame while the width is not. Which layout manager should be used?()A  FlowLayoutB  CardLayoutC  North and South of BorderLayoutD  East and West of BorderLayoutE  GridLayout

考题 单选题You are assigned the task of building a panel containing a TextArea at the top, a label directly below it,and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when  the panel is resized?()A  GridLayout.B  CardLayout.C  FlowLayout.D  BorderLayout.E  GridBagLayout.

考题 多选题When selecting a Network Interface Card (NIC), which of the following factors need to be considered?()AThe type of application used on the networkBThe type of system bus used by the computersCThe type of memory installed in each computerDThe type of media used in the network topologyEThe type of protocols used in the networkFThe physical layout of the network hosts

考题 单选题Which attribute is used to pass the user role back to the Nexus when remote AAA is enabled?()A  Cisco AV-pairB  TACACS+ or RADIUS ack frame role attributeC  DH-CHAP challenge attributeD  privilege level attribute

考题 多选题import java.awt*;   public class X extends Frame (   public static void main(string args) (  X x = new X ();   X.pack();   x.setVisible(true);  )  public X () (   setlayout (new GridLayout (2,2));   Panel p1 = new panel();    Add(p1);    Button b1= new Button (“One”);    P1.add(b1);   Panel p2 = new panel();    Add(p2);   Button b2= new Button (“Two”);    P2.add(b2);    Button b3= new Button (“Three”);   add(b3);   Button b4= new Button (“Four”);   add(b4);   )   )   Which two statements are true? ()AAll the buttons change height if the frame height is resized.BAll the buttons change width if the Frame width is resized.CThe size of the button labeled “One” is constant even if the Frame is resized.DBoth width and height of the button labeled “Three” might change if the Frame is resized.

考题 多选题Which statements are true concerning the default layout manager for containers in the java.awt package?()AObjects instantiated from Panel do not have a default layout manager.BObjects instantiated from Panel have FlowLayout as default layout manager.CObjects instantiated from Applet have BorderLayout as default layout manager.DObjects instantiated from Dialog have BorderLayout as default layout manager.EObjects instantiated from Window have the same default layout manager as instances of Applet.

考题 填空题Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.()