Hi, I have class A and Class B (say)... class B has some methods that class A should use. But class A cannot inherit from B, B cannot be an abstract class or an interface....How do we do that? all methods should be defined only in B, not allowed to be defined in A...any ideas? Sunitha
How does it need to use the methods? Without code this is hard to answer. You can make an instance of B inside A and then use the instance to get at the methods. (Is that what you mean???)
"JavaRanch, where the deer and the Certified play" - David O'Meara