Originally posted by Mike Jeya: I have to get the level of root as 0 and parent1, parent2 as 1 and child1,child21 as 2 etc.. Thanks in Advance
Spritle Software Blogs
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]