Pergunta de entrevista da empresa Digit Insurance

Q) What is the use of abstract classes in Java

Resposta da entrevista

Sigiloso

24 de nov. de 2020

I asked if I could give an example for this. I explained how classes like Rectangle, Circle, Triangle all inherit methods area() but their calculations i.e. implementations are different. Then I went on to explain how abstract classes could help in such a case.