What if the median is zero?
A variable that can in principle be only zero or positive can only have mean zero if all values in practice are zero. On the other hand, such a variable can and will have median zero if more than half of the values are zero.
Can you have a median of one number?
Median of one number = the number itself.