This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java Documentation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Documentation" Watch "Java Documentation" New topic

Java Documentation

Pat Moran

Joined: Feb 11, 2004
Posts: 20
Where can I find in standard documentation (from Sun, IBM, etc.) a listing of class or instance variables for the standard Java classes. For example, where can I find that "length" exists for an Array.

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24190

Hi Pat,
Welcome to JavaRanch!
The exhaustive Java API documentation is available in many places; here, for example.
Now, unfortunately, the example you've given is (as so often happens) a highly atypical one. The idea that arrays have a "length" member is completely unique -- there's nothing like it in all of Java. It's not something that's documented in the APIs, but rather, something that's part of the language definition itself. Most people learn this from a book, but the very hardcore go straight to the Java language specification.

[Jess in Action][AskingGoodQuestions]
Have you checked out Aspose?
subject: Java Documentation
It's not a secret anymore!