A violation is when you brake a rule and the other team gets the ball :)
In any type of violation, the other team will get the ball.
In basketball terms, a violation is the breaking of a rule that does not result from physical contact, except for charging. Examples of a violation are double dribbles, travelling, goaltending, and 24 second shot clock violation.
some rules in basketball are Back-court violation, Traveling, Goaltending, Out of bounds, Shot clock violation
An 8 second violation in the NBA is the same as a 10 second violation in college and high school basketball. An 8 second violation is called when the offense doesn't get the ball across halfcourt within 8 seconds.
Foul and violation.