Preorder traversal for Nary trees

I’m still a beginner to Java. I’ve just learned about binary search trees and the idea of preorder traversals, and how you’d be able to use recursion to implement preorder traversal of a binary tree. …