Check if the point lies on X-axis or Y-axis A
Finding the axis:
If the point lies On X-axis, the Y coordinate remains zero.
If the point lies On Y-axis, the X coordinate remains zero.
In the point the X coordinate remains zero. so the point lies on Y-axis.
Hence the point lies on Y-axis.