Calling a Class
Posted on 2004-09-01
I have 3 Classes, Class A, Class B and Class C.
Class A has makes calls to 2 methods func1() which is found in Class B and func2() found in Class C.
Class A extends Class B, so now func1() is accessable.
but How does Class A Call func2() which is in class c without, as java does not support multiple inheritance.
also i don't want multi-level inheritance, where in Class B extends Class C, that's not advisable.
how do i solve the problem?