Pergunta de entrevista da empresa General Dynamics Mission Systems

What is an abstract class and why would you use it?

Respostas da entrevista

Sigiloso

30 de jul. de 2016

In Java, an abstract class is a class which contains abstract methods, which are methods with declarations but no implementations. The methods are implemented by sub-classes of the abstract class. This gives more flexibility to those methods making it easier to tailor them to your use.

1

Sigiloso

8 de mar. de 2012

It's used to subclassing.