I want to sort array of int, strings or any data type. Therefore I decided to use comparable array as an input to my sort function.
But I get an error when I using it.
Comparable arr[];
the compiler says "comparable is undeclared identifier".
I think I must include specific thing so what's this thing?
Thanks,