Here like to discuss few points in NS2
1) Ns2 is the nice tool using for research and study purpose.
2) Mostly Ns2 is made up of C++
3) Even other language like Java, Dot net can also use only with separate patches
4) Flexible language but difficult to get materials and datas
5) Excellent tool for network engineers research people
Enjoy learning NS2