A convex bipartite graph G with bipartition (X,Y) and an ordering X=(x1,...,xn) is a bipartite graph such that for each yY, the neighborhood of y in X appears consecutively. G is said to have convexity with respect to X. In this paper, we present a necessary and sufficient condition for the existence of a Hamiltonian cycle in convex bipartite graphs, and further, we obtain a linear-time algorithm for this graph class. We also show that Chvatal's necessary condition is sufficient for convex bipartite graphs. The closely related problem is HAMILTONIAN PATH whose complexity is open in convex bipartite graphs. We classify the class of convex bipartite graphs as monotone and non-monotone graphs. For monotone convex bipartite graphs, we present a linear-time algorithm to output a Hamiltonian path. It is important to highlight that: (a) in Keil (Inf Process Lett 20:201-206, 1985) and Ghosh (in: WALCOM 2011, LNCS 6552, pp. 191-201, 2011), it is incorrectly claimed that Hamiltonian path problem in convex bipartite graphs is polynomial-time solvable by referring to Muller (Discrete Math 156:291-298, 1996) which actually discusses Hamiltonian cycle and (b) the algorithm appeared in Ghosh (2011) for the longest path problem (Hamiltonian path problem) in biconvex and convex bipartite graphs has an error and it does not compute an optimum solution always. We present an infinite set of counterexamples in support of our claim.