To improve this answer, you can also result blood type A or B or AB when one of the parents are A and the other is B. It doesn't always end up with AB.
When two like blood types match up, the child must be whatever that blood type is, but if two unlike blood types are matched up, you will end up with possibility of one of the choices.