a little boy is riding a yellow bicycle across a town square.
A boy has a yellow bike.
Bike usually means bicycle; it has already been described as yellow; if a boy is riding something then it follows that he has it.
It is implied the boy has a bike to be riding.
The bike is for riding.