MCQs > IT & Programming > Java MCQs > J2EE (Java Platform, Enterprise Edition) MCQs

J2EE (Java Platform, Enterprise Edition) MCQ

J2EE (Java Platform, Enterprise Edition) MCQ

1. Which Protocol is used to deliver email to recipient mail Server?

Answer

Correct Answer: SMTP

Note: This Question is unanswered, help us to find answer for this one

2. Among bellow protocol which can be used in Java Mail?

Answer

Correct Answer: All

Note: This Question is unanswered, help us to find answer for this one

3. Which is true in case of JMS session?

Answer

Correct Answer: All

Note: This Question is unanswered, help us to find answer for this one

4. What does lookup() do in JNDI?

Answer

Correct Answer: Find the specified object which was given in the context

Note: This Question is unanswered, help us to find answer for this one

5. GetMessage() of Folder class returns?

Answer

Correct Answer: Message array

Note: This Question is unanswered, help us to find answer for this one

6. Which class can send a message over specific protocol?

Answer

Correct Answer: Transport

Note: This Question is unanswered, help us to find answer for this one

7. What type of messaging in provided by JMS?

Answer

Correct Answer: Synchronous and Asynchronous

Note: This Question is unanswered, help us to find answer for this one

8. By which method we can delete a mail using JavaMail Api?

Answer

Correct Answer: Messages.setFlag(Flags.flag.Deleted,true);

Note: This Question is unanswered, help us to find answer for this one

9. What types of messages are supported by JMS?

Answer

Correct Answer: All

Note: This Question is unanswered, help us to find answer for this one

search