Animals in which the body cavity is not lined by mesoderm, and instead, the mesoderm is present as scattered pouches in between the ectoderm and endoderm are:
Organisation of ectoderm, mesoderm and endoderm is known as