title: Tree implementation in Java (root, parents and children)
body: <p>I need to create a tree structure similar as the attached image in Java. I've found some questions related to this one but I haven't found a convincing and well explained response.
  The application business consists in food super categories (main courses, desserts and other). Each of these categories can have parent items or children items and so on.</p>
  
  <p><img src="https://i.stack.imgur.com/5kJXf.gif" alt="Desired tree Structure"></p>