Green jackfruit ( also called young jackfruit) is used as a vegetable while ripe jackfruit is eaten as a fruit.