SCJP Certification

Sun Certified Java Programmer Certification exam essentials

Posts Tagged ‘collections’

October 7th, 2009

What is the for-each loop?

No Comments, Java Facts, by Daisy Williams.

A for-each loop is an enhanced for loop. It is used to iterate over arrays and collections. This feature was…

Share

September 25th, 2009

What is the comparable interface?

No Comments, Java Facts, by Daisy Williams.

The Comparable interface is used to sort collections and arrays of objects using the Collections.sort() and java.utils.Arrays.sort() methods respectively. The…

Share