Interview Question

Entry Level Software Engineer Interview

-Needham, MA

General Dynamics Mission Systems

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

Answer

Interview Answers

2 Answers

0

It's used to subclassing.

Frank on

1

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.

Anonymous on

Add Answers or Comments

To comment on this, Sign In or Sign Up.