Fix example of equivalence between java and sql

The equivalent concept of a sql table in java is a class. Fix the
mistake in the API documentation which refers to objects instead.