title: Binary tree java
body: <p>How to create input from user?
  i'm doing a binary tree programming question but i don't know how to make the input come from the user</p>
  <pre><code>public class BinaryTreeApp {
  
  public static void main(String[] args) {
  
  BinaryTree a = new BinaryTree();
  
  Node root = a.createNewNode(10);
  root.left = a.createNewNode(12);
  root.right = a.createNewNode(15);
  root.left.left = a.createNewNode(25);
  root.left.right = a.createNewNode(30);
  root.right.left = a.createNewNode(36);
  </code></pre>