Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Data Structures Organizing Data Arrays

Siu KWAN Yuen
Siu KWAN Yuen
Courses Plus Student 2,898 Points

methods from other packages

I am confused about why some methods that are static and some are not; it makes it hard to use them correctly. For example, why sort() or Arrays.sort is a Static method and .lenght() are not.

How do java programmers recognize the nature of the method?
Is there a way to make such a judgment?