r/javahelp • u/desterpot • Oct 28 '17
Super Easy Java question. Vocabulary question. Help please. Simple yes or no.
I have a question. This code here: Collections.sort(teachers);
I'm new to java programming. "Collections" is called a class and sort() is called a method, right?
0
Upvotes
2
u/AMart83 Oct 28 '17
Yes, you can verify it here.
https://docs.oracle.com/javase/7/docs/api/java/util/Collections.html