how can i insert my method inorderTraversal(Binary.root) inside the JOptionPane ?
inorderTraversal(Binary.root)
if(choice == 2) { JOptionPane.showMessageDialog(null, "INORDER TRAVERSAL: "); inorderTraversal(Binary.root); }
Aucun commentaire:
Enregistrer un commentaire