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 contain

题目

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 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 contain”相关问题
  • 第1题:

    When a student has something in his mind and he should ignore the irrelevant parts when reading, which of the following strategies can be used?

    A.skimming
    B.detailed reading
    C.scanning
    D.predicting

    答案:C
    解析:
    考查阅读策略。寻读是一种快速阅读方式,其目的是从较长的文字资料中查寻特定的细节内容。

  • 第2题:

    Which statement is true about assertion in the Java programming language?()  

    • A、 Assertion expressions should not contain side effects.
    • B、 Assertion expression values can be any primitive type.
    • C、 Assertion should be used for enforcing preconditions on public methods.
    • D、 An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.

    正确答案:A

  • 第3题:

    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.()


    正确答案:layout = new GridLayout(2, 3);"   or: "LayoutManager layout = new

  • 第4题:

    Which of the following multimeter settings should only be used when there is no electrical flow through the part being tested? ()(Select TWO).

    • A、Ampere
    • B、Continuity
    • C、Volt
    • D、Resistance
    • E、Wattage

    正确答案:B,D

  • 第5题:

    Which two statements are true about the Automatic Diagnostic Repository (ADR)?() 

    • A、 The ADR base keeps all diagnostic information in binary format
    • B、 SQL*Plus provides the ADRI script, which can be used to work with ADR
    • C、 The ADR can be used for problem diagnosis only when the database is open
    • D、 The ADR can be disabled by settting the DIAGNOSTIC_DEST parameter to null
    • E、 The ADR can be used for problem diagnosis even when the database instance is down
    • F、 The ADR base is shared across multiple instances

    正确答案:E,F

  • 第6题:

    Which two statements are true about the Automatic Diagnostic Repository (ADR)?() (Choose two.)

    • A、The ADR base keeps all diagnostic information in binary format
    • B、SQL*Plus provides the ADRI script, which can be used to work with ADR
    • C、The ADR can be used for problem diagnosis only when the database is open
    • D、The ADR can be disabled by settting the DIAGNOSTIC_DEST parameter to null
    • E、The ADR can be used for problem diagnosis even when the database instance is down
    • F、The ADR base is shared across multiple instances

    正确答案:E,F

  • 第7题:

    单选题
    Which statement about HTTPS decryption on the WSA is true?()
    A

    if enabled, all HTTPS traffic must be decrypted

    B

    if WBRS is enabled, it can be used to determine whether the HTTPS traffic is to be decrypted

    C

    decrypted HTTPS traffic is sent unencrypted across the enterprise intranet

    D

    object size can be used to determine whether the HTTPS traffic is to be decrypted


    正确答案: B
    解析: 暂无解析

  • 第8题:

    单选题
    Which statement about firefighting foam is TRUE?()
    A

    Foam conducts electricity

    B

    To be most effective,foam should be directed at the base of the fire

    C

    Foam is most effective on burning liquids which are flowing

    D

    Foam can ONLY be used to extinguish class A fires


    正确答案: A
    解析: 暂无解析

  • 第9题:

    多选题
    Which of the following multimeter settings should only be used when there is no electrical flow through the part being tested? ()(Select TWO).
    A

    Ampere

    B

    Continuity

    C

    Volt

    D

    Resistance

    E

    Wattage


    正确答案: A,D
    解析: 暂无解析

  • 第10题:

    单选题
    An alternator switchboard has a synchroscope and synchronizing lamps, if the synchroscope is broken, which of the steps listed is the most essential before an alternator can be paralleled with the bus ()
    A

    The breaker should be closed when one synchronizing lamp is dark and the other is bright

    B

    The breaker should be closed when both synchronizing lamps are bright

    C

    The frequency meter should be used to determine that the incoming alternator frequency is slightly higher than the bus

    D

    A portable phase sequence indicator must be used to verify the information from the lamps


    正确答案: C
    解析: 暂无解析

  • 第11题:

    多选题
    Which two statements about subqueries are true? ()
    A

    A subquery should retrieve only one row.

    B

    A subquery can retrieve zero or more rows.

    C

    A subquery can be used only in SQL query statements.

    D

    Subqueries CANNOT be nested by more than two levels.

    E

    A subquery CANNOT be used in an SQL query statement that uses group functions.

    F

    When a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.


    正确答案: C,D
    解析: 暂无解析

  • 第12题:

    单选题
    Which statement concerning current is TRUE().
    A

    Current can be determined by measuring the direction and distance between simultaneous EP and DR positions

    B

    The drift of the current should be averaged out on a one hour basis

    C

    After the current is determined,it should not be used for further plotting because it is an unknown variable

    D

    The distance between a simultaneous DR position and fix is equal to the drift of the current


    正确答案: B
    解析: 暂无解析

  • 第13题:

    When a student has something in his mind and he should ignore the irrelevant parts when reading, which of the following strategies can be used?

    A.skimming
    B.detailed reading
    C.scanning
    D.predicting

    答案:C
    解析:
    考查阅读策略。寻读是一种快速阅读方式,其目的是从较长的文字资料中查寻特定的细节内容。

  • 第14题:

    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

    正确答案:B

  • 第15题:

    Which statement about HTTPS decryption on the WSA is true?() 

    • A、if enabled, all HTTPS traffic must be decrypted
    • B、if WBRS is enabled, it can be used to determine whether the HTTPS traffic is to be decrypted
    • C、decrypted HTTPS traffic is sent unencrypted across the enterprise intranet
    • D、object size can be used to determine whether the HTTPS traffic is to be decrypted

    正确答案:B

  • 第16题:

    How does the weighty property of the GridBagConstraints objects used in grid bag layout affect the layout of the components?()  

    • A、It affects which grid cell the components end up in.
    • B、It affects how the extra vertical space is distributed.
    • C、It affects the alignment of each component.
    • D、It affects whether the components completely fill their allotted display area vertically.

    正确答案:B

  • 第17题:

    Which two statements about subqueries are true? ()

    • A、A subquery should retrieve only one row.
    • B、A subquery can retrieve zero or more rows.
    • C、A subquery can be used only in SQL query statements.
    • D、Subqueries CANNOT be nested by more than two levels.
    • E、A subquery CANNOT be used in an SQL query statement that uses group functions.
    • F、When a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.

    正确答案:B,F

  • 第18题:

    单选题
    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
    解析: A:该布局管理器将容器划分为五个部分,容器大小的改变不会影响其中的组件的位置而是影响他们的大小。 
    B:该布局管理器根据放入其中的组件的最合适大小调整组件的位置,根据组件放入的顺序安排,一行不能容纳时放入下一行,因此容器的大小改变可能改变组件的位置。    
    C://该布局管理器显示放入该容器的当前页中的组件,一次显示一个,容器大小的改变不能影响其中组件的位置。 
    D://该布局管理器将容器划分为固定的网格,组件加入后占据一个单元,各组件的相对位置不会因为容器的大小变化而变化,改变的只是组件的大小。

  • 第19题:

    单选题
    Which statement is true about assertion in the Java programming language?()
    A

     Assertion expressions should not contain side effects.

    B

     Assertion expression values can be any primitive type.

    C

     Assertion should be used for enforcing preconditions on public methods.

    D

     An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    When a student has something in his mind and he should ignore the irrelevant parts when reading, which of the following strategies can be used? _____
    A

    skimming

    B

    detailed reading

    C

    scanning

    D

    predicting


    正确答案: B
    解析:
    寻读是从较长的文字资料中查寻特定的细节内容、而忽略其他无关的内容,是一种快速阅读方式。

  • 第21题:

    单选题
    Which statement concerning the lashings of containers with solid bar or wire rope lashings is TRUE? ()
    A

    Stack weights should be less when using a solid bar lashing as compared to a wire lashing

    B

    Stack heights may be increased when using a solid bar lashing

    C

    Stack heights should be reduced when using a solid bar lashing

    D

    Solid bars should be used for lashing the first tier only,with wire lashings on the higher tier(s)


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    How does the weighty property of the GridBagConstraints objects used in grid bag layout affect the layout of the components?()
    A

    It affects which grid cell the components end up in.

    B

    It affects how the extra vertical space is distributed.

    C

    It affects the alignment of each component.

    D

    It affects whether the components completely fill their allotted display area vertically.


    正确答案: A
    解析: 暂无解析

  • 第23题:

    填空题
    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.()

    正确答案: layout = new GridLayout(2, 3);"   or: "LayoutManager layout = new
    解析: 暂无解析