Will the following code compile?

public abstract class One {
    public abstract int doJob();
class Two extends One { }
Non-abstract class must implement abstract methods of base classes / interfaces

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Sign Up Now
or Subscribe for future quizzes