class A
{
method(){ implmntn 1}
}
class B
{
method(){ implmntn 2}
}
class D
{
method(){ implmntn 3}
}
class myClass needs methods implemented by other three classes ,Not by creating a reference variable of these 3 in my class but by some other way. I know multiple inheritance is not allowed in java...yet i want to know
How can this be done in
Java?