I can NOT compile first class below I get the>>>.
//Chapter: 18-Generics, Problem - textbook:HTP7
JAVA DEITEL (c)2007, Exe.:18.4
C:\Users\User\Documents\TextBooksDataFiles\RexPractice\JAVA\MySolutions\18-4>javac SelectionSort.java
SelectionSort.java:53: incompatible types
found : T
required: T
T x = data[smallest];
^
SelectionSort.java:54: incompatible types
found : T
required: T
T y = data[index];
^
2 errors