CallableStatement is used to call stored procedures. Before calling a stored procedure, Connection object should exist because CallableStatement object is made using Connection object.

Java Code:
CallableStatement cs = con.prepareCall("{call SHOW_PUPILS}");
ResultSet rs = cs.executeQuery();