I have a database with User information, and I wanted to make a public static to return the database integers at any given time without having to make a void for every single on
PreparedStatement.executeQuery(String sql) is not implemented. I guess you just want to call executeQuery(). The query is defined by the PreparedStatement already.