Explanation:hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents. 4. ____________ method renders the document in a JSON-like format.
A. displayjson
B. print
C. printjson
D. printdoc
Answer:A
Explanation:hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents. 4. ____________ method renders the document in a JSON-like format.
A. displayjson B. print C. printjson D. printdoc
Explanation:printjson() operation displays all documents. 5. Point out the wrong statement :