This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 24183

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:
subject: Java Documentation
Similar Threads
Where can I find documentation of abbreviations such as 1E6
equals() in StringBuffers
Permission File and RMI