If a defensive player interferes with a shot while it's on the way down toward the basket, while it's on the way up toward the basket after having touched the backboard, or while it's in the cylinder above the rim, it's goaltending and the shot counts. If committed by an offensive player, it's a violation and the ball is awarded to the opposing team for a throw-in.
a) True
b) False