How to modify an object's private ArrayList attribute from another object (Java)

前端 未结 0 666
天命终不由人
天命终不由人 2021-02-04 09:44

Pretty much just the title, although I will give an example to appease the soup-nazi people of Stack Overflow. Let\'s say I have a class:

public class Person
{
pr         


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