This content has been marked as final. Show 2 replies
fox_mulder wrote:We don't read minds. You need to copy and paste the entire error message and indicate on which line it occurs.
i need a help, i make this small code and i get a error when i try to sort a vector by name (String)
i make a sort by selection , i know that there is an interface ( Comparator ) but it works with Array not vector (i guess i 'm not sur )You can use Collections.sort(List, Comparator). Since a Vector is a List, it will work.