JAVA implementation of tree using array numbering starting from 0 to n - 1.
import java . util . * ; import java . lang . * ; import java . io . * ; class Array_imp { static int root = 0 ; static String [ ] str = new String [ 10 ] ;