aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Documentation" Watch "Java Documentation" New topic
Author

Java Documentation

Pat Moran
Greenhorn

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.


pm
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

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]
 
Consider Paul's rocket mass heater.
 
subject: Java Documentation