title: K-Ary Tree Implementation in Java: how to?
body: <p>I've a university project about creating two classes, Tree class and Node class, to implement a k-ary tree using Java.</p>
  
  <p>In the class Tree, there should be a constructor which recives as input an int that indicates the tree arity.</p>
  
  <p>I've worked before with general trees and this was my result:</p>
  
  <p>Class tree: *</p>
  
  <p>Class node: *</p>
  
  <p>I absolutely don't know where and how to start to build this project (as I don't know how to manage the arity, maybe with ArrayList?).</p>
  
  <p>Any advice and suggestions will be greatly appreciated :)
  Thanks in advance.</p>