Quiz

1:When sending mail, which of the following is the proper sequence of working with classes?
  1. Session, Authenticator, Message, Transport

  2. Authenticator, Message, Session, Transport

  3. Authenticator, Session, Message, Transport

  4. Session, Transport, Message, Authenticator

A1: A
2:When forwarding a message, you need to
  1. Create a new message from the original message, and copy over its content.

  2. Create a multipart message, and construct two parts—one for the text message and one for the original message—and combine them together.

  3. Create a blank message and copy the original content over.

  4. Use the original message object and set its new recipients.

A2: A
3:When retrieving an e-mail message, which of the following is the proper order of working with classes?
  1. Store, Folder, Message

  2. Session, Store, Folder, Message, Transport

  3. Session, Folder, Message, Transport

  4. Session, Store, Folder, Message

A3: D
4:Which of the following are part of the JavaBeans Activation Framework (JAF)?
  1. Transport

  2. DataSource

  3. FileDataSource

  4. Session

A4: B, C
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.233.43