niusouti.com

单选题When is an implicit anchor created?()A When an object is enclosed by another object. B When a page break after pagination property is enabled. C When a link is created between two objects. D When a keep with anchoring object pagination property is enab

题目
单选题
When is an implicit anchor created?()
A

When an object is enclosed by another object. 

B

When a page break after pagination property is enabled. 

C

When a link is created between two objects. 

D

When a keep with anchoring object pagination property is enabled.


相似考题
更多“单选题When is an implicit anchor created?()A When an object is enclosed by another object. B When a page break after pagination property is enabled. C When a link is created between two objects. D When a keep with anchoring object pagination property is enab”相关问题
  • 第1题:

    1. class Test {  2. private Demo d;  3. void start() {  4. d = new Demo();  5. this.takeDemo(d); 6. }  7.   8. void takeDemo(Demo demo) {  9. demo = null;  10. demo = new Demo(); 11. }  12. }  When is the Demo object, created on line 3, eligible for garbage collection?()  

    • A、 After line 5.
    • B、 After line 9.
    • C、 After the start() method completes.
    • D、 When the takeDemo() method completes.
    • E、 When the instance running this code is made eligible for garbage collection.

    正确答案:E

  • 第2题:

    12. void start() {  13. A a = new A();  14. B b = new B();  15. a.s(b);  16. b = null;  17. a = null;  18. System.out.println(“start completed”); 19. }  When is the B object, created in line 14, eligible for garbage collection?()  

    • A、 After line 16.
    • B、 After line 17.
    • C、 After line 18 (when the methods ends).
    • D、 There is no way to be absolutely certain.
    • E、 The object is NOT eligible for garbage collection.

    正确答案:D

  • 第3题:

    When does an MDisk become managed by an IBM Storwize V7000?()

    • A、when a volume is created using thatMDisk
    • B、when theMDisk is first imported into the cluster
    • C、when the LUN is first presented to theStorwize V7000
    • D、when theMDisk is assigned to a storage pool

    正确答案:B

  • 第4题:

    public class X {   public object m () {   object o = new float (3.14F);   object oa = new object [1];   oa[0]= o;   o = null;   oa[0] = null;   return o;   }   }   When is the float object created in line 3, eligible for garbage collection?()  

    • A、 Just after line 5.
    • B、 Just after line 6.
    • C、 Just after line 7.
    • D、 Just after line 8(that is, as the method returns).

    正确答案:C

  • 第5题:

    Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object?()

    • A、When using versions of Java technology earlier than 5.0.
    • B、When sharing a StringBuffer among multiple threads.
    • C、When using the java.io class StringBufferInputStream.
    • D、When you plan to reuse the StringBuffer to build more than one string.

    正确答案:A,B

  • 第6题:

    When is an implicit anchor created?()

    • A、When an object is enclosed by another object. 
    • B、When a page break after pagination property is enabled. 
    • C、When a link is created between two objects. 
    • D、When a keep with anchoring object pagination property is enabled.

    正确答案:A

  • 第7题:

    单选题
    You create a Web site that stores users' active themes in user profile objects. You need to apply users' preferred themes when they log on to the Web site. What should you do? ()
    A

    In the InitComplete event handler, set the Theme property of the Page object based on the user profile.

    B

    In the PreLoad event handler, set the Theme property of the Page object based on the user profile.

    C

    In the OnLoad event handler, set the Theme property of the Page object based on the user profile.

    D

    In the PreInit event handler, set the Theme property of the Page object based on the user profile.


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

  • 第8题:

    单选题
    When compressing data with the DeflateStream class, how do you specify a stream into which to write compressed data?()
    A

     Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.

    B

     Specify the stream to write into the DeflateStream object is created (for example, in the constructor).

    C

     Use the Write method of the DeflateStream class.

    D

     Register for the BaseSream event of the DeflateStream class.


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

  • 第9题:

    单选题
    The easiest way to anchor a vessel in a current is to().
    A

    stem the current and make very slow headway when the anchor is dropped

    B

    stem the current and be falling aft very slowly when the anchor is dropped

    C

    stem the current and endeavor to make neither headway nor sternway when the anchor is dropped

    D

    stop all headway through the water and keep the current astern when the anchor is dropped


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

  • 第10题:

    单选题
    public class X {  public object m () {   object o = new float (3.14F);   object oa = new object [1];   oa[0]= o;   o = null;   return oa[0];   }   }   When is the float object created in line 3, eligible for garbage collection?()
    A

     Just after line 5

    B

     Just after line 6

    C

     Just after line 7 (that is, as the method returns)

    D

     Never in this method.


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

  • 第11题:

    单选题
    12. void start() {  13. A a = new A();  14. B b = new B();  15. a.s(b);  16. b = null;  17. a = null;  18. System.out.println(“start completed”); 19. }  When is the B object, created in line 14, eligible for garbage collection?()
    A

     After line 16.

    B

     After line 17.

    C

     After line 18 (when the methods ends).

    D

     There is no way to be absolutely certain.

    E

     The object is NOT eligible for garbage collection.


    正确答案: B
    解析: The correct answer to this question is D. The member method s is not defined so there is no way to be certain of the result. 

  • 第12题:

    多选题
    Which of the following statements about variables and scope are true?()
    A

    Local variables defined inside a method are destroyed when the method is exited.

    B

    Local variables are also called automatic variables.

    C

    Variables defined outside a method are created when the object is constructed.

    D

    A method parameter variable continues to exist for as long as the object is needed in which the method is defined.


    正确答案: B,D
    解析: 本题是讨论变量的类型及作用域。

  • 第13题:

    10. public Object m() { 11. Object o = new Float(3.14F); 12. Object [] oa = new Object[1]; 13. oa[0] = o; 14. o = null; 15. return oa[0]; 16. } When is the Float object, created in line 11, eligible for garbage collection?()  

    • A、 Just after line 13.
    • B、 Just after line 14.
    • C、 Never in this method.
    • D、 Just after line 15 (that is, as the method returns).

    正确答案:C

  • 第14题:

    When compressing data with the DeflateStream class, how do you specify a stream into which to write compressed data?()

    • A、 Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.
    • B、 Specify the stream to write into the DeflateStream object is created (for example, in the constructor).
    • C、 Use the Write method of the DeflateStream class.
    • D、 Register for the BaseSream event of the DeflateStream class.

    正确答案:B

  • 第15题:

    Which of the following statements about variables and scope are true?() 

    • A、 Local variables defined inside a method are destroyed when the method is exited.
    • B、 Local variables are also called automatic variables.
    • C、 Variables defined outside a method are created when the object is constructed.
    • D、 A method parameter variable continues to exist for as long as the object is needed in which the method is defined.

    正确答案:A,B,C

  • 第16题:

    You are developing an inventory report to list the item number, description price and picture of all inventory items. The layout of each item is a repeating frame that contains three fixed fields and a image. When possible you want all objects in the repeating frame to appear on the same logical page without creating blank pages between instances. Which pagination property would you alter to achieve these results?()

    • A、Page break before. 
    • B、Page break after. 
    • C、Page protect. 
    • D、Keep with anchoring object.

    正确答案:C

  • 第17题:

    You have a disk group, DGROUP1, with three disk and NORMAL redundancy. You execute the following command to create a template for the disk group: ALTER DISKGROUP dgroup1 ADD TEMPLATE my_temp ATTRIBUTES (MIRROR FINE);Which statement is true?()

    • A、 When a file is created in DGROUP1 with the template, it would have three-way mirroring.
    • B、 When a file is created in DGROUP1, the MY_TEMP template becomes the default template.
    • C、 When a file is created in DGROUP1 with the template, it would have two-way mirroring and file striping.
    • D、 When a file is created in DGROUP1 with the template, it would have three-way mirroring and file striping.
    • E、 When a file is created in DGROUP1 with the template, it would have two-way mirroring but no file striping.

    正确答案:C

  • 第18题:

    单选题
    10. public Object m() { 11. Object o = new Float(3.14F); 12. Object [] oa = new Object[1]; 13. oa[0] = o; 14. o = null; 15. return oa[0]; 16. } When is the Float object, created in line 11, eligible for garbage collection?()
    A

     Just after line 13.

    B

     Just after line 14.

    C

     Never in this method.

    D

     Just after line 15 (that is, as the method returns).


    正确答案: A
    解析: The correct answer to this question is C. The object is never garbage collected simply because the method returns it. Think about it, the message that receives the object might depend on it so it must be sure that the object received by the method wont be garbage collected. Only in this situation a local object  wont be eligible for garbage collection. Otherwise, a local object is eligible for garbage collection as soon as the method ends.

  • 第19题:

    单选题
    When anchoring in open anchorage, chief engineer should consult with captain ()
    A

    if the ship must be stand by

    B

    if M-E should be stopped

    C

    if keep-watching as in voyage

    D

    if the ship must anchor two anchors


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

  • 第20题:

    单选题
    Your network contains an Active Directory domain named adatum.com.You discover that when users join computers to the domain, the computer accounts are created in the Computers container.You need to ensure that when users join computers to the domain, the computer accounts are automatically created in an organizational unit (OU) named All_Computers. What should you do?()
    A

    From a command prompt, run the redircmp.exe command

    B

    From Windows PowerShell, run the Move-ADObject cmdlet

    C

    From Ldp, configure the properties of the Computers container

    D

    From ADSI Edit, configure the properties of the OU1 object.


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

  • 第21题:

    单选题
    public class X {   public object m () {   object o = new float (3.14F);   object oa = new object [1];   oa[0]= o;   o = null;   oa[0] = null;   return o;   }   }   When is the float object created in line 3, eligible for garbage collection?()
    A

     Just after line 5.

    B

     Just after line 6.

    C

     Just after line 7.

    D

     Just after line 8(that is, as the method returns).


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

  • 第22题:

    单选题
    You have a disk group, DGROUP1, with three disk and NORMAL redundancy. You execute the following command to create a template for the disk group: ALTER DISKGROUP dgroup1 ADD TEMPLATE my_temp ATTRIBUTES (MIRROR FINE);Which statement is true?()
    A

     When a file is created in DGROUP1 with the template, it would have three-way mirroring.

    B

     When a file is created in DGROUP1, the MY_TEMP template becomes the default template.

    C

     When a file is created in DGROUP1 with the template, it would have two-way mirroring and file striping.

    D

     When a file is created in DGROUP1 with the template, it would have three-way mirroring and file striping.

    E

     When a file is created in DGROUP1 with the template, it would have two-way mirroring but no file striping.


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

  • 第23题:

    单选题
    You are developing an inventory report to list the item number, description price and picture of all inventory items. The layout of each item is a repeating frame that contains three fixed fields and a image. When possible you want all objects in the repeating frame to appear on the same logical page without creating blank pages between instances. Which pagination property would you alter to achieve these results?()
    A

    Page break before. 

    B

    Page break after. 

    C

    Page protect. 

    D

    Keep with anchoring object.


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