1.

How many arguments are accepted by publish()?(a) 5 arguments(b) 3 arguments(c) 1 argument(d) 2 argumentsI have been asked this question in an online quiz.My enquiry is from Publishing Messages to the Cloud topic in section Working with the Cloud of IOT

Answer»

The correct choice is (d) 2 arguments

To elaborate: This METHOD accepts two positional arguments: the topic to publish to, and the BODY of the message.



Discussion

No Comment Found

Related InterviewSolutions