for example, here is a java api. It shows you all the objects and their methods you can use. A good place to start would be the Math class. You'll see some general stuff about the class, and then the specific methods you can call, what parameters the methods take, what they do, and what they return.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors