wood burning stoves
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
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: 24199

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]
I agree. Here's the link: http://aspose.com/file-tools
subject: Java Documentation
It's not a secret anymore!