多选题Which statements about Java code security are true?()AThe bytecode verifier loads all classes needed for the execution of a program.BExecuting code is performed by the runtime interpreter.CAt runtime the bytecodes are loaded, checked and run in an inte

题目
多选题
Which statements about Java code security are true?()
A

The bytecode verifier loads all classes needed for the execution of a program.

B

Executing code is performed by the runtime interpreter.

C

At runtime the bytecodes are loaded, checked and run in an interpreter.

D

The class loader adds security by separating the namespaces for the classes of the local file system from those imported from network sources.


相似考题
更多“Which statements about Java code security are true?() ”相关问题
  • 第1题:

    Which of the following statements about language is NOT true?

    A.Language is a system
    B.Language is symbol
    C.Animals also have language
    D.Language is arbitrary

    答案:C
    解析:
    本题考查语言的定义。
    本题要求选不正确的,C选项,动物也有语言,错误。语言是人类在交际中使用的一套任意的声音符号系统。动物没有语言,动物只是本能发出声音。综上,应选C。
    A选项,系统的,故排除。
    B选项,符号,故排除。
    D选项,任意的,故排除。
    故正确答案为C项。

  • 第2题:

    Which statements about Java code security are true?() 

    • A、 The bytecode verifier loads all classes needed for the execution of a program.
    • B、 Executing code is performed by the runtime interpreter.
    • C、 At runtime the bytecodes are loaded, checked and run in an interpreter.
    • D、 The class loader adds security by separating the namespaces for the classes of the local file system from those imported from network sources.

    正确答案:B,C,D

  • 第3题:

    You need to configure port security on switch R1.  Which two statements are true about this  technology? ()

    • A、 Port security can be configured for ports supporting VoIP.
    • B、 With port security configured, four MAC addresses are allowed by default.
    • C、 The network administrator must manually enter the MAC address for each device in order for  the switch to allow connectivity.
    • D、  Withsecurity configured, only one MAC addresses is allowed by default.  
    • E、 Port security cannot be configured for ports supporting VoIP.

    正确答案:A,D

  • 第4题:

    Which two statements about the use of VLANs to segment a network are true? ()

    • A、VLANs increase the size of collision domains.
    • B、VLANs allow logical grouping of users by function.
    • C、VLANs simplify switch administration.
    • D、VLANs enhance network security.

    正确答案:B,D

  • 第5题:

    Which statements about inheritance are true?()         

    • A、 In Java programming language only allows single inheritance.
    • B、 In Java programming language allows a class to implement only one interface.
    • C、 In Java programming language a class cannot extend a class and implement a interface together.
    • D、 In Java programming language single inheritance makes code more reliable.

    正确答案:A,D

  • 第6题:

    Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()

    • A、It can be invoked only from the doGet or doPost methods.
    • B、It can be used independently of the getRemoteUser method.
    • C、Can return "true" even when its argument is NOT defined as a valid role name in the deployment descriptor.
    • D、Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.

    正确答案:B,C

  • 第7题:

    单选题
    Which of the following statements about the golf club is NOT true?
    A

    It’s at the top of the cliff.

    B

    They were not allowed to be in the club.

    C

    They parked the car near the club.


    正确答案: A
    解析:
    根据there was a golf club at the top of the cliff that we weren’t allowed into可见A项和B项说法正确。文中只提到停放汽车,但没有提及停在哪儿。

  • 第8题:

    多选题
    public class Team extends java.util.LinkedList {  public void addPlayer(Player p) {  add(p);  }  public void compete(Team opponent) { /* more code here */ }  }  class Player { /* more code here */ }  Which two are true?()
    A

    This code will compile.

    B

    This code demonstrates proper design of an is-a relationship.

    C

    This code demonstrates proper design of a has-a relationship.

    D

    A Java programmer using the Team class could remove Player objects from a Team object.


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

  • 第9题:

    多选题
    You need to configure port security on switch R1.  Which two statements are true about this  technology? ()
    A

    Port security can be configured for ports supporting VoIP.

    B

    With port security configured, four MAC addresses are allowed by default.

    C

    The network administrator must manually enter the MAC address for each device in order for  the switch to allow connectivity.

    D

      Withsecurity configured, only one MAC addresses is allowed by default.

    E

    Port security cannot be configured for ports supporting VoIP.


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

  • 第10题:

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

    In Java programming language only allows single inheritance.

    B

    In Java programming language allows a class to implement only one interface.

    C

    In Java programming language a class cannot extend a class and implement a interface together.

    D

    In Java programming language single inheritance makes code more reliable.


    正确答案: D,C
    解析: 在java中一个类只能有一个直接父类,但是可以实现多个接口,在继承的同时可以实现接口,之所以取消多继承的原因是多继承使得代码产生很多问题,而使用单一继承则可以使代码更可靠。

  • 第11题:

    单选题
    Which statements about the garbage collection are true?()
    A

     The program developer must create a thread to be responsible for free the memory.

    B

     The garbage collection will check for and free memory no longer needed.

    C

     The garbage collection allow the program developer to explicity and immediately free the memory.

    D

     The garbage collection can free the memory used java object at expect time.


    正确答案: A
    解析: Java语言将内存分配和释放的工组交给了自己,程序员不必做这些工作,它提供一个系统级的线程跟踪每个内存的分配,在JVM的空闲处理中,垃圾收集线程将检查和释放不再使用的内存(即可以被释放的内存)。垃圾收集的过程在java程序的生存期中是自动的,不需要分配和释放内存,也避免了内存泄漏。可以调用System.gc()方法建议(suggest)JVM执行垃圾收集以使得可被释放的内存能立即被使用,当此方法返回的时候,JVM已经做了最大的努力从被丢弃的对象上回收内存空间。程序员不能指定收集哪些内存,一般而言也不用关心这个问题,除非是程序的内存消耗很大,特别是有很多临时对象时可以“建议“进行垃圾收集以提高可用内存。需要指出的是调用System.gc()方法不能保证JVM立即进行垃圾收集,而只能是建议,因为垃圾收集线程的优先级很低(通常是最低的)。

  • 第12题:

    多选题
    Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()
    A

    It can be invoked only from the doGet or doPost methods.

    B

    It can be used independently of the getRemoteUser method.

    C

    Can return true even when its argument is NOT defined as a valid role name in the deployment descriptor.

    D

    Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.


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

  • 第13题:

    Which two statements are true about L2TP tunnels?() (Choose two.)

    • A、Traffic is clear text
    • B、Traffic is encrypted 
    • C、They are initiated by the LNS
    • D、They are initiated by the LAC

    正确答案:A,D

  • 第14题:

    Which two statements about the Cisco Nexus 1000V VSM are true?()

    • A、It performs switching decisions and forwarding for the VEM
    • B、It can be run on a virtual machine
    • C、It can be used for remote VEM switching Iine cards

    正确答案:B,C

  • 第15题:

    Which of the following statements is true about a router's eBGP peers that is not  also true about that same router's iBGP peers?()

    • A、The eBGP peer neighborship uses TCP
    • B、The eBGP peer uses port 180 (default)
    • C、The eBGP peer uses the same ASN as the local router
    • D、The eBGP peer updates its AS_Path PA before sending updates to  this router

    正确答案:D

  • 第16题:

    public class Team extends java.util.LinkedList {  public void addPlayer(Player p) {  add(p);  }  public void compete(Team opponent) { /* more code here */ }  }  class Player { /* more code here */ }  Which two are true?()

    • A、 This code will compile.
    • B、 This code demonstrates proper design of an is-a relationship.
    • C、 This code demonstrates proper design of a has-a relationship.
    • D、 A Java programmer using the Team class could remove Player objects from a Team object.

    正确答案:A,D

  • 第17题:

    Which statements about the garbage collection are true?() 

    • A、 The program developer must create a thread to be responsible for free the memory.
    • B、 The garbage collection will check for and free memory no longer needed.
    • C、 The garbage collection allow the program developer to explicity and immediately free the memory.
    • D、 The garbage collection can free the memory used java object at expect time.

    正确答案:B

  • 第18题:

    Which three statements about subqueries are true? ()

    • A、Asinglerowsubquerycanretrieveonlyonecolumnandonerow.
    • B、Asinglerowsubquerycanretrieveonlyonerowbutmanycolumns.
    • C、Amultiplerowsubquerycanretrievemultiplerowsandmultiplecolumns.
    • D、Amultiplerowsubquerycanbecomparedusingthe";>;";operator.
    • E、AsinglerowsubquerycanusetheINoperator.
    • F、Amultiplerowsubquerycanusethe";=";operator.

    正确答案:B,C,E

  • 第19题:

    多选题
    Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
    A

    Every  tag must have at least one  tag.

    B

    A  tag can have many  tags.

    C

    A given  tag can apply to only one  tag.

    D

    A given  tag can contain from zero to many  tags.

    E

    It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.


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

  • 第20题:

    多选题
    What two statements are true about Oracle Enterprise Manager’s Java Diagnostic tool, which makes the tool suitable for production server diagnostics ?()
    A

    virtually zero overhead for application running in the JVM

    B

    no stalling of running JVM when taking a heap dump for memory analysis

    C

    no need of modification, changes, or instrumentation of the application since is uses Network Protocol Analysis (NPA technology)

    D

    provides Byte Code Instrumentation for Java


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

  • 第21题:

    多选题
    Which two statements are true about Oracle Real Applications Insight ?()
    A

    it provides enhanced visibility across the entire application infrastructure

    B

    it provides a set of management tools that enable automation of configuraion

    C

    it significantly increases the performance of Web-based applications with no code change

    D

    it dramatically reduces costs associated with diagnostics, configuration, and deployment on production servers


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

  • 第22题:

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

    it supports very large data-sets such as the result-sets from large search queries to be held in memory

    B

    it provides a set of management tools that enables automation of configuration

    C

    it provides enhanced visibility across the entire application infrastructure

    D

    it significantly increases the performance of Web-based applications with no code change


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

  • 第23题:

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

    Asinglerowsubquerycanretrieveonlyonecolumnandonerow.

    B

    Asinglerowsubquerycanretrieveonlyonerowbutmanycolumns.

    C

    Amultiplerowsubquerycanretrievemultiplerowsandmultiplecolumns.

    D

    Amultiplerowsubquerycanbecomparedusingthe;>;;operator.

    E

    AsinglerowsubquerycanusetheINoperator.

    F

    Amultiplerowsubquerycanusethe;=;operator.


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