Fish learn by trial and error what is edible and what is not. Young fish approach unfamiliar food with caution and often eject the morsel several times before swallowing it. But once they learn what is acceptable, they become much less cautious about eating similar items.