Solution:
It is given the points A(0,6) and B(0,-2).The distance formula between two points ( , ) and ( , ) = Let = 0, = 0, and = -2.
The distance between points A(0,6) and B(0,-2),
Therefore, the distance between the points A(0,6) and B(0,-2) is 8.
Hence, the required option is 2.