Answer:

And the earth brought forth grass, the herb that yields seed according to its kind, and the tree that yields fruit, whose seed is in itself according to its kind. And God saw that it was good (Genesis 1:12).

Genesis 1:29-31

Well, let’s see. We know by our Bible verse that the trees in the Garden provided fruit for food. And we know that Adam and Eve could eat the fruit from all the trees except one. They didn’t need to wait for years for the trees to grow big enough to produce fruit, did they? 

It seems that God created the trees to sprout, grow, and bear fruit all in one day. I do believe that the trees had growth rings, for a couple of reasons. First, they were fully grown trees to start with, and most grown trees have growth rings. Second, the growth rings of many trees are actually part of the structure of the tree and support the tree. Some trees would need those growth rings to stand tall and produce fruit for Adam and Eve. So the growth rings were part of what made these trees perfect and very good, like the rest of God’s creation.

Source: https://answersingenesis.org/kids/bible-questions/were-the-trees-fully-grown/