Retrieve array from mongodb using java

Previously we saw how to retrieve documents from mongodb, we will move further and understand how to retrieve array from mongodb using java. Retrieve Array From Mongodb using Java: Consider we have document as below in mongodb

Notice that…