How do I read Class paths in Java's API documentation? : I was attempting to use a method I found in Java's documentation and I ran into some trouble. I have some confusion on what class path to use from the documentation.

If I want to use the method getLength(Object name) from the Array class the compiler accepts java.lang.reflect.Array.getLength(nameOfArray) but not java.lang.Object.getLength(nameOfArray). Though the picture of the API documentation linked below seems to imply to me that both class paths are linked to the Array classes method.

Also I feel like I might be using the wrong jargon when wording my question, how might you have reworded my question. I ask because It seems like to me I could find this information online but I did a search on google for "How to read Java Documentation" and coundn't find this piece of information.

My guess was maybe one of these class paths are extended and one is an implementation, but I'm also confused on which is which or why that would make a difference.
 

[Java API documentation example][1]


  [1]: http://i.stack.imgur.com/nqMJs.png

Thank you

