1.

________ method publishes messages to pub/sub.(a) Client()(b) Publish()(c) Server()(d) Batch()The question was posed to me during an interview for a job.The doubt is from Publishing Messages to the Cloud topic in section Working with the Cloud of IOT

Answer» CORRECT answer is (b) PUBLISH()

The explanation is: While client() provides METHOD to create topics, publish() method publishes MESSAGES to pub/sub.


Discussion

No Comment Found

Related InterviewSolutions