For object A,
The distance–time graph is a straight line parallel to the time axis. It means the object is at a fixed distance and at rest. In this case, the object has zero speed.
For object B,
The distance–time graph is perpendicular to time axis. It represents infinite speed. Practically, this is an impossible case.