Which method will

题目

Which method will configure an e-mail notification when permanent hardware errors are logged in the errorlog?()  

  • A、Create or update the errnotify stanza in the ODm
  • B、Update errpt daemon configuration file /etc/errpt.conf.
  • C、Update errpt daemon configuration file /var/adm/errpt.conf.
  • D、Define a notification alias in the /etc/syslog.conf file with the *.error stanza
参考答案和解析
正确答案:A
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

BGP peers communicate via which method?()。

  • A、RIP
  • B、TCP
  • C、UDP
  • D、ICMP

正确答案:B

第2题:

Which two CANNOT directly cause a thread to stop executing?()

  • A、 Calling the yield method.
  • B、 Calling the wait method on an object.
  • C、 Calling the notify method on an object.
  • D、 Calling the notifyAll method on an object.
  • E、 Calling the start method on another Thread object.

正确答案:C,D

第3题:

The method of accounting for investments in equity securities in which the investor records its share of periodic net income of the investee is the ( )

A、cost method

B、market method

C、income method

D、equity method


正确答案:D

第4题:

Which methods from the String and StringBuffer classes modify the object on which they are called?()  

  • A、The charAt() method of the String class.
  • B、The toUpperCase() method of the String class.
  • C、The replace() method of the String class.
  • D、The reverse() method of the StringBuffer class.
  • E、The length() method of the StringBuffer class.

正确答案:D

第5题:

Which is the return type of the method main()?    

  • A、 int
  • B、 void
  • C、 boolean
  • D、 static

正确答案:B

第6题:

Given: 6. 7.<%="processing" %> 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()

  • A、The doStartTag method is called once.
  • B、The doAfterBody method is NOT called.
  • C、The EVAL_PAGE constant is a valid return value for the doEndTag method.
  • D、The SKIP_PAGE constant is a valid return value for the doStartTag method.
  • E、The EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.

正确答案:A,C

第7题:

Which statements concerning the methods notify() and notifyAll() are true?  

  • A、Instances of class Thread have a method called notify().
  • B、A call to the method notify() will wake the thread that currently owns the monitor of the object.
  • C、The method notify() is synchronized.
  • D、The method notifyAll() is defined in class Thread.
  • E、When there is more than one thread waiting to obtain the monitor of an object, there is no way to be     sure which thread will be notified by the notify() method.

正确答案:A,E

第8题:

What are the elements with which a method is concerned?
There are six elements:
1.the nature of language;
2.the nature of language learning;
3.goals and objectives inteaching;
4.the type of syllabus to use;
5.the role of teachers,and instructional materials;
6.the techniques and procedures to use.

第9题:

Under which circumstances will a thread stop?()  

  • A、The method waitforId() in class MediaTracker is called.
  • B、The run() method that the thread is executing ends.
  • C、The call to the start() method of the Thread object returns.
  • D、The suspend() method is called on the Thread object.
  • E、The wait() method is called on the Thread object.

正确答案:B

第10题:

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

更多相关问题