Oracle interview question

Which IPC process is better ? Why multiple inheritance is not provided in java but it is in c++.