Assumptions for my answer
Based on your description I understand that you are discussing a fixed population - oranges at one market at one point in time. You have twenty independent samplings, you do not specify if the oranges are replaced or if the samplings are mutally exclusive, nor what the total number of oranges are available.
For the sake of the answer I assume the total available was much larger than the number of oranges sampled, sufficicently larger that the distinction between replacing oranges (so that each student sampled the same population) as opposed to non-replacement (each subsequent student sampled an ever decreasing population) becomes negligible.
In this case the 95% confidence interval is the orange within which you would expect to find the true mean in 95% of the experiments.
If any of the assumptions degrade
- non overlapping batch sampling combined with a low total number available (this makes the samplings interdependent due to non overlap constraints)
- sampling by each student was carried out on different days with restocking , especially if seasons change between (population is constantly changing, each sampling within it is not randomly sampled across the whole distribution)
- each student takes all their sampling from a single stall, but may sample different stalls (not randomly sampled across whole population)
- if any student samples using a different criterion or chooses oranges non randomly, for example one chooses the ones they would want to eat which may in turn tend to be bigger (biased sampling will prevent the confidence interval from covering the true mean with the expected frequency)
Many more exclusions exist, under which the answer no longer applies as rigorously. In these cases it is not the definition that is the problem, it is invalid assumptions about sampling.
Did you follow the link provided by Néstor in the answer you referenced? It was What's the difference between a confidence interval and a credible interval? and explains when confidence intervals are relevant and when they are not - it depends precisely on what angle you need look at the data to answer your specific problem.