Why Java returns Class<?> in getClass() method?

后端 未结 0 591
孤城傲影
孤城傲影 2021-01-06 21:44

Why does java returns Class in Object.getClass() method if it`s a bad practice to use wildcards as return type?

Now it\'s making my client code to forcefully

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