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

J2EE (Java Platform, Enterprise Edition) MCQ

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

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

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

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

GetMessage() of Folder class returns?

Answer

Correct Answer: Message array

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

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

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

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

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