How to change the name of an element in an ArrayList

后端 未结 0 1706
不思量自难忘°
不思量自难忘° 2020-11-28 10:32

I want to change an element name in an ArrayList, without changing its value. Like :-

ArrayList array1 = new ArrayList<>();
int num = 1;
         


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