Wednesday, April 27, 2011

Selection Sort of the Simple Object Array

Today, I continued working on the selection sort class. A compareTo method is needed however there is one under the Super Class and the programmer can create one as well. This advice given by Mr. Arkin really was useful. I had an idea of converting strings with capital letters to lower case Strings as a temporary variable, but when comparing, the compareTo method recognizes this difference. I also realized that we can use some of the methods that we created in the Array of Objects Assignment. I hope to complete this class today for homework.

No comments:

Post a Comment