In java, How to make a class identify its method when more than one class is present.
Thats suppose i have 4 classes namely class1,class2,c lass3 & class4 and i have one method in each class namely method1 under class1,method2 under class2, method3 under class3 and method4 under class4.
How to print method1 alone under class1 and
method2 alone under class2 and so on.
I am using a JTree.
Thank you
Thats suppose i have 4 classes namely class1,class2,c lass3 & class4 and i have one method in each class namely method1 under class1,method2 under class2, method3 under class3 and method4 under class4.
How to print method1 alone under class1 and
method2 alone under class2 and so on.
I am using a JTree.
Thank you
Comment