Coconut fruit is a drupe. Drupes are fleshy fruits developing from either one or many fused carpels having one or several seeds. They have a membranous epicarp, stony endocarp, fibrous mesocarp. The edible part of coconut and the coconut water are equivalent to endosperm. The endocarp wraps one seed with brown testa containing a small embryo and an edible part (white oily endosperm) with the liquid – coconut water.
Hence, the correct answer is option (B)