Bitwise interview question

Implent multiple inheritance in java