How to add an object to LinkedHashMap which is a property of differnet class object in Java?

后端 未结 0 1237
孤城傲影
孤城傲影 2020-12-15 03:08

As above I have an object of class Animal and I want to add it to LinkedHashMap animals which is a property of RectangularMap. The problem is that when I create two objects

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