Pergunta de entrevista da empresa Hexaware Technologies

What is oops? inhertiance in java? C-Java which is better.