Just because it is a fruit does not mean it is not a vegetable.
Vegetable - A plant cultivated for an edible part, such as the root of the beet, the leaf of spinach, or the flower buds of broccoli or cauliflower.