Why Diamond operator was not missed from Right hand side in Java 7?

后端 未结 0 1868
名媛妹妹
名媛妹妹 2021-01-15 08:30

Java 7 has improved the diamond operator

In Java 6

Map myMap = new HashMap();

In Java 7

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