Is a trolleybus considered a motor vehicle?

A)No.
B)Yes.Correct
A trolleybus is a motor vehicle with more than nine seats, including the driver's seat, intended for the transport of people and luggage. A bus or coach is also included in this same definition.
A trolleybus is connected to an electric line and does not run on rails.