0

*I have a error message "ConcurrentModificationException" When i try to add a new element in the end of list also i want get values.

for(Node root:node.getChild()) 

//get values root.get...

nodC=new Node();

node.getChild().add(nodeC);

Thank you.

Carlos
  • 357
  • 2
  • 3
  • 14
  • 2
    [Please search before posting.](/search?q=%5Bjava%5D+concurrentmodificationexception+add) More on searching [here](/help/searching). – T.J. Crowder Apr 14 '17 at 14:28
  • Thanks for your answer @T.J. Crowder. I solve the problem by other solution. – Carlos Apr 14 '17 at 16:06

0 Answers0