Cast class exception -> Interface derived class cannot be cast to Comparable

前端 未结 0 764
遇见更好的自我
遇见更好的自我 2020-12-06 05:38

I was trying to use Arrays.sort() to sort the items saved in Object array by their double instance values but I\'m getting cast class exception. Here is the code:

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题