How to function a value in a Generic function in java?

前端 未结 0 665
独厮守ぢ
独厮守ぢ 2020-11-28 22:36

Getting error: incompatible types: int cannot be converted to T. I want to build a queue using linked list that can store items of different data types. Please suggest ways

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