You need to store a Java long primitive attribute, called customerOID, into the session scope. Which two code snippets allow you to insert this value into the session?()A、long customerOID = 47L;session.setAttribute("customerOID", new Long(customerOID));B

题目

You need to store a Java long primitive attribute, called customerOID, into the session scope. Which two code snippets allow you to insert this value into the session?()

  • A、long customerOID = 47L;session.setAttribute("customerOID", new Long(customerOID));
  • B、long customerOID = 47L;session.setLongAttribute("customerOID", new Long(customerOID));
  • C、long customerOID = 47L;session.setAttribute("customerOID", customerOID);
  • D、long customerOID = 47L;session.setNumericAttribute("customerOID", new Long(customerOID));

相似考题
更多“You need to stor”相关问题
  • 第1题:

    I want to go to the cinema, but you _____ with me.

    A. need not to go

    B. do not need go

    C. need not go

    D. need go not


    参考答案: C

  • 第2题:

    you ________ a pass to enter that building.

    A. need get

    B. need getting

    C. need got

    D. need to get


    参考答案:D

  • 第3题:

    假设一连锁书店的数据库中有3个表:连锁分店信息表STORES(STOR ID,STOR NAME),书籍销售信息表SALES(STOR ID,TITLE ID,QTY)和书籍信息表TITLES (TITLE ID,TITLE)。要查询各分店销售某书的数量,相应的SQL语句应该是:

    SELECT STOR_NAME,QTY,TITLE

    FROM TITLES,STORES,SALES

    WHERE TITLES.TITLE_ID=SALES.TITLE_ID AND【 】。


    正确答案:STORES.STOR ID=SALES.STOR ID
    STORES.STOR ID=SALES.STOR ID 解析:连锁分店信息表STORES里只存储了分店号和店名,书籍销售表SALES存储了分店号,书籍编号和该编号书在该编号分店的销售量,书籍信息表TITLES则存储了书籍编号和书名,所以要查询各分店某书对应的销售量,就要依据这3个表的相同属性进行等值连接,其中表 SALES因为与其他两个表都有联系,充当了“桥梁”的作用,题目中已经给出了TITLES表和SALES表的等值条件,空缺处就应该是分店信息表和销售表连接的条件。

  • 第4题:

    You need to back up the existing data on a computer before you install a new application. You also need to ensure that you are able to recover individual user files that are replaced or deleted during the installation.What should you do?()

    A.A

    B.B

    C.C

    D.D


    参考答案:C

  • 第5题:

    You- re _s___________ out ,you need to relax.


    正确答案:
    35. stressed

  • 第6题:

    If you want to take photographs, you will need to apply for a____.

    A.permissible
    B.permission
    C.permitting
    D.permit

    答案:D
    解析:
    本题考察动词permit“允许,许可”的不同形式。题目意为“如果你想拍照片,首先要申请许可。”A选项permissible,“允许的”,形容词,;B选项permission,“许可,允许”,不可数名词,搭配ask for permission“申请许可”;C选项permitting,“-ing形式”;D选项permit,“许可,许可证”,可数名词apply for a permit,“申请许可(证)”。
      

  • 第7题:

    以下()不是顶级域名

    • A、net
    • B、edu
    • C、WWW
    • D、stor

    正确答案:C

  • 第8题:

    You are using Oracle Database 10g. Which statement regarding an incomplete recovery is true?()

    • A、 You do not need to restore all the data files.
    • B、 You do not need to open the database with the RESETLOGS operation
    • C、 You do not need to perform a full backup after the RESETLOGS operation.
    • D、 You do not need to recover all the data files to the same system change number (SCN).

    正确答案:C

  • 第9题:

    单选题
    You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?()
    A

     You need to rebuild the kernel.

    B

     You need to upgrade the kernel

    C

     You need to load the USB modules for your existing modular kernel.

    D

     USB support is not available in Linux.


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

  • 第10题:

    单选题
    Your company has an Active Directory Domain Services (AD DS) domain. All server s run Windows Server 2008 R2. All client computers run Windows 7. You use Microsoft Enterprise Desktop Virtualization (MED - V) to support client virtualization requirements. You need to ensure that all MED - V virtual machine (VM) images can be centrally stor ed and are available to all client computers. What should you do?()
    A

    Install and configure IIS on a member server.

    B

    Configure a shared folder on a member server.

    C

    Create a single workspace for all client computers.

    D

    Install and configure Microsoft SQL Se rver 2008 on a member server.


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

  • 第11题:

    单选题
    You are using Oracle Database 10g. Which statement regarding an incomplete recovery is true?()
    A

     You do not need to restore all the data files.

    B

     You do not need to open the database with the RESETLOGS operation

    C

     You do not need to perform a full backup after the RESETLOGS operation.

    D

     You do not need to recover all the data files to the same system change number (SCN).


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

  • 第12题:

    单选题
    —Would you like me to go to the dentist with you?  —No, you ______ with me.
    A

    need not to go

    B

    need not go

    C

    do not need go    

    D

    not need go


    正确答案: D
    解析: ——你想要我陪你去看牙医吗?——不用了,你不用陪我去。need作实义动词时,表示“需要;必须”,为不及物动词,表否定时应为“do not need to do”;作情态动词时,表示“必须”,后加动词原形,表否定时应为“need not do”,故此处选B。

  • 第13题:

    If you need a computer, I’ll lend you ( ).

    A、another

    B、one

    C、the one

    D、some


    参考答案:B

  • 第14题:

    “请问您还需要点什么 ”用英语最妥当的表述是( )。

    A.Do you need anything more

    B.Do you need something else

    C.Would you like something more

    D.Would you like anything more


    正确答案:D

  • 第15题:

    I want to go to the dentist, but you ______ with me.

    A、need not to go

    B、do not need go

    C、need not go

    D、need go not


    参考答案:C

  • 第16题:

    You send a remote assistance invitation for help.You need to open a personal document without allowing the help desk to view the document. You also need to ensure that the remote assistance session remains connected.What should you do?()

    A.A

    B.B

    C.C

    D.D


    参考答案:B

  • 第17题:

    You′d better take these documents with you?you need them for the meeting.

    A.unless
    B.in case
    C.until
    D.so that

    答案:B
    解析:
    【考情点拨】考查连词词义辨析。
    【应试指导】句意:你最好带上这些文件,以防会议中你会用到。in case可引导目的状语从句,意为“以防,以备”,so?that也可引导目的状语从句,意为“以便,为了”,所以in case符合题意。unless除非;until直到。

  • 第18题:

    What kind of knowledge do you need to have if you say you know a word?
    Knowing a word involves knowing its meaning, its form and its use. If we say that we know a word, we must be able to
    a) recognize it in written and spoken form;
    b) recall it at once;
    c) relate it to appropriate object or concept;
    d) use it in appropriate grammatical form;
    e) use it in correct collocation;
    f) use it at appropriate level of formality;
    g) pronounce it in a recognizable way;
    h) spell it correctly;
    i) be aware of its connotation.

  • 第19题:

    You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?()

    • A、 You need to rebuild the kernel.
    • B、 You need to upgrade the kernel
    • C、 You need to load the USB modules for your existing modular kernel.
    • D、 USB support is not available in Linux.

    正确答案:B

  • 第20题:

    Windows NT 4.0 is currently on the system you are using, and you want to install Windows 2000 Professional. Windows NT 4.0 is currently on an NFTS partition.  For some reason you have decided that you are not going to upgrade, but rather, you are going to run this in a dual boot fashion.  What do you need to do? ()

    • A、Can’t be done.
    • B、You need to put Windows 2000 on a separate partition from Windows NT 4.0
    • C、You need to put Windows 2000 on the same partition as Windows NT 4.0.
    • D、You need to upgrade Windows NT 4.0 to SP4.

    正确答案:D

  • 第21题:

    多选题
    In which scenarios would you rebuild an index?()
    A

    when you need to disable the index usage

    B

    when you need to change storage options

    C

    when you need to enable index monitoring

    D

    when you need to move the index to another tablespace


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

  • 第22题:

    单选题
    You()to the meeting this afternoon if you have something important to do.
    A

    needn't to come

    B

    don't need come 

    C

    don't need coming

    D

    needn't come


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

  • 第23题:

    单选题
    Windows NT 4.0 is currently on the system you are using, and you want to install Windows 2000 Professional. Windows NT 4.0 is currently on an NFTS partition.  For some reason you have decided that you are not going to upgrade, but rather, you are going to run this in a dual boot fashion.  What do you need to do? ()
    A

    Can’t be done.

    B

    You need to put Windows 2000 on a separate partition from Windows NT 4.0

    C

    You need to put Windows 2000 on the same partition as Windows NT 4.0.

    D

    You need to upgrade Windows NT 4.0 to SP4.


    正确答案: A
    解析: If you want to make NTFS 4 for Windows NT 4.0 to be compatible with NTFS (V5) of windows 2000, service pack 4 is required for Windows NT 4.0.   You can put both operating system i.e. Windows NT 4.0 and Windows 2000 Professional on the same partition or on the different partition but recommended option is to place the windows 2000 professional on the different partition from windows NT 4.0.

  • 第24题:

    问答题
    What kind of knowledge do you need to have if you say you know a word?

    正确答案: Knowing a word involves knowing its meaning, its form and its use. If we say that we know a word, we must be able to
    a) recognize it in written and spoken form;
    b) recall it at once;
    c) relate it to appropriate object or concept;
    d) use it in appropriate grammatical form;
    e) use it in correct collocation;
    f) use it at appropriate level of formality;
    g) pronounce it in a recognizable way;
    h) spell it correctly;
    i) be aware of its connotation.
    解析: 暂无解析