recursive method for counting the number of descendants of a given node

hey friends,I am somewhat confused about the code as i am unable to write something about sarching a particular node in a tree. I need to search for a particular node firt and then count it's descendants? is it? if someone can help regarding the codeThanks
[278 byte] By [invincible_mea] at [2007-11-27 2:01:18]
# 1
I would break that down into two methods: search and countDescendents. If you have a specific question about either method, post your code along with the question.
DrLaszloJamfa at 2007-7-12 1:41:11 > top of Java-index,Java Essentials,New To Java...