Minecraft wiki entry for Animal_farming, associated text: This gets you the experience from breeding the cows but not from killing them.
You'll want to cook the meat for your own use, but not for selling it to a butcher.